aboutsummaryrefslogtreecommitdiffstats
path: root/bin/browser-tests
diff options
context:
space:
mode:
Diffstat (limited to 'bin/browser-tests')
-rwxr-xr-xbin/browser-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/browser-tests b/bin/browser-tests
index 00cfbc346..d77894dcc 100755
--- a/bin/browser-tests
+++ b/bin/browser-tests
@@ -94,6 +94,9 @@ sub run {
kill 'TERM', $pid if $pid;
exit $exit >> 8;
} else {
+ use Test::MockModule;
+ my $c = Test::MockModule->new('FixMyStreet::Cobrand::FixMyStreet');
+ $c->mock('enable_category_groups', sub { 1 });
# Child, run the server on port 3001
local $ENV{FIXMYSTREET_APP_DEBUG} = 0;
require Plack::Runner;