MT#10797 Fix message in the tests.

Change-Id: I938dc41b9d87ca1b0ac55cb7e2d82a6102df29dd
changes/76/676/3
Irina Peshinskaya 11 years ago
parent 34f9dcce85
commit 6fbbc11dcd

@ -118,7 +118,7 @@ my @allcustomers = ();
is($res->code, 422, "create customer with invalid type");
my $err = JSON::from_json($res->decoded_content);
is($err->{code}, "422", "check error code in body");
ok($err->{message} =~ /Invalid 'type'/, "check error message in body");
ok($err->{message} =~ /Mandatory 'type' parameter is empty or invalid/, "check error message in body");
# try to create invalid customer with wrong billing profile
$req->content(JSON::to_json({

Loading…
Cancel
Save