aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/moderate.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-12-16 12:52:16 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-12-16 12:52:16 +0000
commit12bbcc4bfa64cfb9677b9317929916d24dd472fb (patch)
tree20085c955101175da958ca6b3a481f68b87fc09d /t/app/controller/moderate.t
parent38490f6ea18064c232bda6ebfbaee052bd8f0951 (diff)
parentadf07727ab14468c262759a21dedc1ac84cd32c8 (diff)
Merge branch 'issues/forcouncils/20-offline-inspecting'
Diffstat (limited to 't/app/controller/moderate.t')
-rw-r--r--t/app/controller/moderate.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/moderate.t b/t/app/controller/moderate.t
index 0ccfcf2c2..3a3c7a708 100644
--- a/t/app/controller/moderate.t
+++ b/t/app/controller/moderate.t
@@ -67,7 +67,8 @@ subtest 'Auth' => sub {
$mech->get_ok($REPORT_URL);
$mech->content_lacks('Moderat');
- $mech->get_ok('/contact?m=1&id=' . $report->id);
+ $mech->get('/contact?m=1&id=' . $report->id);
+ is $mech->res->code, 400;
$mech->content_lacks('Good bad bad bad');
};