X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frpc%2Flist.t;fp=t%2Frpc%2Flist.t;h=44b781aa66ebf3b3e96f2724a1fe5be4f1bb58de;hp=f1f9621a4cdd2bf7071fa8ad52464609f4fdec95;hb=8c7199a13b832b6ce5e569320b3620dd38a67617;hpb=fd6fb6c9a7485d534134558a1de31ba3ae8e2f21 diff --git a/t/rpc/list.t b/t/rpc/list.t index f1f9621..44b781a 100644 --- a/t/rpc/list.t +++ b/t/rpc/list.t @@ -236,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' ); } @@ -257,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' );