aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-07-13 13:58:50 +0100
committerDave Arter <davea@mysociety.org>2016-07-19 18:10:04 +0100
commita001715332d9423dd4c68542f7eceac4c2e3900c (patch)
tree6f62183f9e5efb736b8bdf4524cf6275e5b7832c /t
parent7792c5328962a58ab60c6975a1fdba7ebb2786e9 (diff)
Restrict add/editing of bodies in admin to superusers
Diffstat (limited to 't')
-rw-r--r--t/cobrand/zurich.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index a595f48c9..e16738b30 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -698,7 +698,7 @@ subtest "only superuser can edit bodies" => sub {
}, sub {
$mech->get( '/admin/body/' . $zurich->id );
};
- is $mech->res->code, 404, "only superuser should be able to edit bodies";
+ is $mech->res->code, 403, "only superuser should be able to edit bodies";
$mech->log_out_ok;
};