Skip to content

Commit

Permalink
[Bromley] Treat Echo Closed state as closed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Dec 24, 2024
1 parent 6ab1c0b commit 5e0861e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion perllib/FixMyStreet/Cobrand/Bromley.pm
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ sub waste_event_state_map {
Accepted => 'action scheduled',
},
Closed => {
Closed => 'fixed - council',
Closed => 'closed',
Completed => 'fixed - council',
'Not Completed' => 'unable to fix',
'Partially Completed' => 'closed',
Expand Down
2 changes: 1 addition & 1 deletion t/cobrand/bromley_waste.t
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ subtest 'updating of waste reports' => sub {
} qr/Fetching data for report/;
$report->discard_changes;
is $report->comments->count, ++$comment_count, 'No new update';
is $report->state, 'fixed - council', 'State change to fixed';
is $report->state, 'closed', 'State change to fixed';
$report->update({ state => 'confirmed' }); # Reset back

$report->update({ external_id => 'waste-15003-' });
Expand Down

0 comments on commit 5e0861e

Please sign in to comment.