aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin/permissions.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-11-18 17:21:40 +0000
committerStruan Donald <struan@exo.org.uk>2019-11-22 17:06:08 +0000
commit080f5f49e4ef63ad28070668dd8e4663692524ee (patch)
tree03cad56c52c0cf22cc58c2906332865364992cd9 /t/app/controller/admin/permissions.t
parenta359cd913baacb46a20fef96053833aab086378a (diff)
[Oxfordshire] re-enable inspector permissions
Re-enable the inspector permissions that were disabled at a cobrand level
Diffstat (limited to 't/app/controller/admin/permissions.t')
-rw-r--r--t/app/controller/admin/permissions.t8
1 files changed, 0 insertions, 8 deletions
diff --git a/t/app/controller/admin/permissions.t b/t/app/controller/admin/permissions.t
index ff5a8ec4f..b7bffaaa5 100644
--- a/t/app/controller/admin/permissions.t
+++ b/t/app/controller/admin/permissions.t
@@ -1,5 +1,4 @@
use FixMyStreet::TestMech;
-use Test::MockModule;
my $mech = FixMyStreet::TestMech->new;
@@ -29,13 +28,6 @@ ok $report, "created test report - $report_id";
$mech->log_in_ok( $oxfordshireuser->email );
-my $cobrand = Test::MockModule->new('FixMyStreet::Cobrand::Oxfordshire');
-$cobrand->mock('available_permissions', sub {
- my $self = shift;
-
- return FixMyStreet::Cobrand::Default->available_permissions;
-});
-
subtest "Users can't edit report without report_edit permission" => sub {
FixMyStreet::override_config {
ALLOWED_COBRANDS => [ 'oxfordshire' ],