diff options
Diffstat (limited to 't/open311.t')
-rw-r--r-- | t/open311.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/open311.t b/t/open311.t index ce4330b9c..30de330b6 100644 --- a/t/open311.t +++ b/t/open311.t @@ -35,7 +35,7 @@ my $p = FixMyStreet::App->model('DB::Problem')->new( { user => $u, } ); -my $expected_error = qr{.*request failed: 500 Can.t connect to 192.168.50.1:80 \(Operation timed out\).*}; +my $expected_error = qr{.*request failed: 500 Can.t connect to 192.168.50.1:80 \([^)]*\).*}; warning_like {$o2->send_service_request( $p, { url => 'http://example.com/' }, 1 )} $expected_error, 'warning generated on failed call'; |