aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-03-26 11:08:28 +0100
committerStruan Donald <struan@exo.org.uk>2012-03-26 11:08:28 +0100
commit437e03329eba224258a37c9657fbbc5778e38aea (patch)
tree7fa4c1aff22be7acf1649f213b1e9f5368066760 /t/open311.t
parent5bb867159b97d34e1ea3dd37d3a6ca5fbb4751fe (diff)
sort out error message tests
Diffstat (limited to 't/open311.t')
-rw-r--r--t/open311.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/open311.t b/t/open311.t
index 99a1346d1..2a9d513eb 100644
--- a/t/open311.t
+++ b/t/open311.t
@@ -156,7 +156,7 @@ subtest 'error reponse' => sub {
my $results;
warning_like {
$results = make_update_req( $comment, '<?xml version="1.0" encoding="utf-8"?><errors><error><code>400</code><description>There was an error</description</error></errors>' )
- } qr/There was an error/, 'correct error message';
+ } qr/Failed to submit comment \d+ over Open311.*There was an error/, 'correct error messages';
is $results->{ res }, 0, 'error in response is a failure';
};