aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-18 13:43:49 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-11-11 10:29:20 +0000
commitb2735e814c73fe76c8526563b7c5473281938833 (patch)
tree731d5fecb6a07124e1d0ff94dfc4518e6c54a9a5 /t/app/controller
parentac82484fb2e2acc95012d8ba0894b1165743b8ea (diff)
[Bromley] No updates on waste reports.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/waste.t4
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);