aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-07-18 17:25:37 +0100
committerDave Arter <davea@mysociety.org>2019-08-16 14:25:12 +0100
commitdadb7abb5319076d3f137b543553b5697e7e5735 (patch)
treee9830c3c2dc49f5986b5b9a6e81a7d19b3d313b9 /t/cobrand
parent10b22ec7ad2a4882de6b7eaff7aa8db739f8c411 (diff)
[Westminster] Disable all updates.
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/westminster.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/cobrand/westminster.t b/t/cobrand/westminster.t
index 64e93be47..2c79fb734 100644
--- a/t/cobrand/westminster.t
+++ b/t/cobrand/westminster.t
@@ -26,6 +26,12 @@ FixMyStreet::override_config {
$mech->get_ok("/auth");
$mech->content_contains("Login with MyWestminster");
};
+
+ subtest 'Reports do not have update form' => sub {
+ my ($report) = $mech->create_problems_for_body(1, 2504, 'Title');
+ $mech->get_ok('/report/' . $report->id);
+ $mech->content_lacks('Provide an update');
+ }
};
for (