X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frpc%2Flist.t;h=44b781aa66ebf3b3e96f2724a1fe5be4f1bb58de;hb=02a2189c5721cb980e1a311ae856a4c3c2fcf4ed;hp=6cb9794966a4d51a7d6e428b42171a046d581f19;hpb=0b0bf9111127c9fdad1e456169ec4cdd15b160f9;p=catagits%2FCatalyst-Controller-DBIC-API.git diff --git a/t/rpc/list.t b/t/rpc/list.t index 6cb9794..44b781a 100644 --- a/t/rpc/list.t +++ b/t/rpc/list.t @@ -1,5 +1,3 @@ -use 5.6.0; - use strict; use warnings; @@ -238,7 +236,7 @@ my $cd_list_url = "$base/api/rpc/cd/list"; is( $response->{success}, 'false', 'correct data returned' ); like( $response->{messages}->[0], - qr/Attribute \(page\) does not pass the type constraint because: Validation failed for 'Int' (failed )?with value fgdg/, + qr/Attribute \(page\) does not pass the type constraint because: Validation failed for 'Int' (failed )?with value (")?fgdg(")?/, 'correct data returned' ); } @@ -259,7 +257,7 @@ my $cd_list_url = "$base/api/rpc/cd/list"; is( $response->{success}, 'false', 'correct data returned' ); like( $response->{messages}->[0], - qr/Attribute \(count\) does not pass the type constraint because: Validation failed for 'Int' (failed )?with value sdsdf/, + qr/Attribute \(count\) does not pass the type constraint because: Validation failed for 'Int' (failed )?with value (")?sdsdf(")?/, 'correct data returned' );