aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-09-03 17:58:54 +0100
committerStruan Donald <struan@exo.org.uk>2012-09-03 17:58:54 +0100
commit5b90af6e79940d8de734d06d20ed82c52a50b56e (patch)
treebe556122e88f1c87e0d4c7e6e7c4db676722131a /t/app
parent41e11f0968be098f47f82986f255e037087624bb (diff)
make around test for non public reports work, and do not display non
public reports on around page
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/around.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t
index 0ef9c95cf..e1c76ff9f 100644
--- a/t/app/controller/around.t
+++ b/t/app/controller/around.t
@@ -96,6 +96,7 @@ subtest 'check non public reports are not displayed on around page' => sub {
my $private = $edinburgh_problems[2];
ok $private->update( { non_public => 1 } ), 'problem marked non public';
+ $mech->get_ok('/');
$mech->submit_form_ok( { with_fields => { pc => 'EH99 1SP' } },
"good location" );
$mech->content_lacks( 'Around page Test 3 for 2651',