diff options
Diffstat (limited to 't/app/controller/waste.t')
-rw-r--r-- | t/app/controller/waste.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/controller/waste.t b/t/app/controller/waste.t index 9c7b9a3ac..fe1b369d9 100644 --- a/t/app/controller/waste.t +++ b/t/app/controller/waste.t @@ -99,8 +99,12 @@ FixMyStreet::override_config { is $res->code, 403; $mech->log_in_ok($user->email); $mech->get_ok('/report/' . $report->id); + $mech->content_lacks('Provide an update'); + $report->update({ state => 'fixed - council' }); $mech->log_in_ok($staff_user->email); $mech->get_ok('/report/' . $report->id); + $mech->content_lacks('Provide an update'); + $mech->content_contains( '<a href="/waste/uprn/1000000002">See your bin collections</a>' ); $mech->host('www.fixmystreet.com'); $res = $mech->get('/report/' . $report->id); |