aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-07-20 09:32:55 +0100
committerDave Arter <davea@mysociety.org>2016-07-20 09:32:55 +0100
commit5e6d75814fc24da3d298df258989049a57c5d75f (patch)
treed1539cb97c1859594d115ad465df0de37f0b3721 /t/cobrand
parent65545553b5171f1ef1d611ea93c38f138451fb31 (diff)
parent5e8ac92d2a38d3ae3802bffee12111e164935b1d (diff)
Merge branch 'admin-using-normal-login'
Diffstat (limited to 't/cobrand')
-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;
};