diff options
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/around.t | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t index 89ca5246e..9e2e7c524 100644 --- a/t/app/controller/around.t +++ b/t/app/controller/around.t @@ -124,8 +124,13 @@ subtest 'check non public reports are not displayed on around page' => sub { ok $private->update( { non_public => 1 } ), 'problem marked non public'; $mech->get_ok('/'); - $mech->submit_form_ok( { with_fields => { pc => 'EH99 1SP' } }, - "good location" ); + FixMyStreet::override_config { + ALLOWED_COBRANDS => [ { 'fixmystreet' => '.' } ], + MAPIT_URL => 'http://mapit.mysociety.org/', + }, sub { + $mech->submit_form_ok( { with_fields => { pc => 'EH99 1SP' } }, + "good location" ); + }; $mech->content_lacks( 'Around page Test 3 for 2651', 'problem marked non public is not visible' ); }; |