diff options
author | Struan Donald <struan@exo.org.uk> | 2012-09-03 17:58:54 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-09-03 17:58:54 +0100 |
commit | 5b90af6e79940d8de734d06d20ed82c52a50b56e (patch) | |
tree | be556122e88f1c87e0d4c7e6e7c4db676722131a /t/app/controller | |
parent | 41e11f0968be098f47f82986f255e037087624bb (diff) |
make around test for non public reports work, and do not display non
public reports on around page
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/around.t | 1 |
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', |