Commit 8e957020 authored by Xavier Guimard's avatar Xavier Guimard

Update tests since exec errors are now warnings

parent e23f0a3e
......@@ -23,7 +23,8 @@ ok( $res->[0] == 200, "Result code is 200" );
ok( $resBody = from_json( $res->[2]->[0] ), "Result body contains JSON text" );
ok( $resBody->{result} == 0, "JSON response contains \"result:0\"" )
or print STDERR Dumper($res);
ok( @{ $resBody->{details}->{__errors__} } == 1, '1 error detected' );
ok( @{ $resBody->{details}->{__warnings__} } == 1, '1 error detected' )
or print STDERR Dumper($resBody);
count(5);
......
......@@ -5,7 +5,7 @@
"id": "portalParams",
"title": "portalParams",
"nodes": [{
"default": "http://auth.example.com/",
"default": "ftp://auth.example.com/",
"id": "portal",
"title": "portal",
"data": "http://auth.example.com/"
......@@ -1903,7 +1903,7 @@
"title": "default",
"type": "rule",
"id": "virtualHosts/manager.example.com/locationRules/1",
"data": "$uid =~ /dwho/rtyler/",
"data": "$uid eq \"dwho\"",
"re": "default"
}]
}, {
......
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