Commit 7b3e95a3 authored by Christophe Maudoux's avatar Christophe Maudoux

Improve units test (#1603)

parent b674769a
Pipeline #3822 failed with stages
in 9 minutes and 9 seconds
......@@ -51,10 +51,11 @@ ok( $resBody->{details}->{__needConfirmation__}->[0]->{message}
"Warning with confirmation needed found"
) or print STDERR Dumper($resBody);
ok( @{ $resBody->{details}->{__changes__} } == 24,
'JSON response contains 24 changes'
) or print STDERR Dumper($resBody);
#print STDERR Dumper($resBody);
ok( $res = &client->_post( '/confs/', 'cfgNum=1&force=1', &body, 'application/json' ),
"Request succeed"
);
......
......@@ -37,8 +37,13 @@ foreach my $i (0 .. 1) {
) or print STDERR Dumper($resBody);
}
ok( @{ $resBody->{details}->{__changes__} } == 22,
'JSON response contains 24 changes'
) or print STDERR Dumper($resBody);
#print STDERR Dumper($resBody);
ok( -f $confFiles->[1], 'File is created' );
count(3);
count(4);
my @changes = @{&changes};
my @cmsg = @{ $resBody->{details}->{__changes__} };
my $bug;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment