diff options
author | Struan Donald <struan@exo.org.uk> | 2018-10-03 15:36:06 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2018-10-09 11:16:40 +0100 |
commit | b43277add3b4e04bf09e6f9cf640ef1d1d1d9b66 (patch) | |
tree | 23ef6b50de02abf2246c537960fc2cd50e2c0e71 /bin/browser-tests | |
parent | 675ec6e6d741be456b287479ea517cc46c4270be (diff) |
front end category tests
Check selecting a category and selecting a sub category
Diffstat (limited to 'bin/browser-tests')
-rwxr-xr-x | bin/browser-tests | 3 |
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; |