diff options
Diffstat (limited to 't')
-rw-r--r-- | t/open311/getservicerequestupdates.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/open311/getservicerequestupdates.t b/t/open311/getservicerequestupdates.t index f680985a4..c3ce2118a 100644 --- a/t/open311/getservicerequestupdates.t +++ b/t/open311/getservicerequestupdates.t @@ -1086,7 +1086,11 @@ subtest 'check matching on fixmystreet_id overrides service_request_id' => sub { system_user => $user, ); - $update->update_comments( $o, $bodies{2482} ); + warning_like { + $update->update_comments( $o, $bodies{2482} ) + } + qr/Failed to match comment to problem with fixmystreet id @{[$problem->external_id]} for Bromley/, + "warning emitted for bad fixmystreet id"; $problem->discard_changes; is $problem->comments->count, 2, 'two comments after fetching updates'; |