Skip to content

Commit 5e0861e

Browse files
committed
[Bromley] Treat Echo Closed state as closed.
1 parent 6ab1c0b commit 5e0861e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: perllib/FixMyStreet/Cobrand/Bromley.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ sub waste_event_state_map {
667667
Accepted => 'action scheduled',
668668
},
669669
Closed => {
670-
Closed => 'fixed - council',
670+
Closed => 'closed',
671671
Completed => 'fixed - council',
672672
'Not Completed' => 'unable to fix',
673673
'Partially Completed' => 'closed',

Diff for: t/cobrand/bromley_waste.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ subtest 'updating of waste reports' => sub {
599599
} qr/Fetching data for report/;
600600
$report->discard_changes;
601601
is $report->comments->count, ++$comment_count, 'No new update';
602-
is $report->state, 'fixed - council', 'State change to fixed';
602+
is $report->state, 'closed', 'State change to fixed';
603603
$report->update({ state => 'confirmed' }); # Reset back
604604

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

0 commit comments

Comments
 (0)