Commit 0ffb9a46 authored by Christophe Maudoux's avatar Christophe Maudoux

Fix configuration Parser (#1603)

parent 7b3e95a3
Pipeline #3826 failed with stages
in 8 minutes and 36 seconds
...@@ -542,6 +542,8 @@ sub _scanNodes { ...@@ -542,6 +542,8 @@ sub _scanNodes {
: {} : {}
} }
); );
@listCatRef = sort @listCatRef;
@listCatNew = sort @listCatNew;
for ( my $i = 0; $i < @listCatNew; $i++ ) { for ( my $i = 0; $i < @listCatNew; $i++ ) {
if ( not( defined $listCatRef[$i] ) if ( not( defined $listCatRef[$i] )
or $listCatRef[$i] ne $listCatNew[$i] ) or $listCatRef[$i] ne $listCatNew[$i] )
......
...@@ -52,7 +52,7 @@ ok( $resBody->{details}->{__needConfirmation__}->[0]->{message} ...@@ -52,7 +52,7 @@ ok( $resBody->{details}->{__needConfirmation__}->[0]->{message}
) or print STDERR Dumper($resBody); ) or print STDERR Dumper($resBody);
ok( @{ $resBody->{details}->{__changes__} } == 24, ok( @{ $resBody->{details}->{__changes__} } == 22,
'JSON response contains 24 changes' 'JSON response contains 24 changes'
) or print STDERR Dumper($resBody); ) or print STDERR Dumper($resBody);
#print STDERR Dumper($resBody); #print STDERR Dumper($resBody);
......
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