aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-08-24 12:13:40 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-08-24 12:13:40 +0100
commita09c61c807d8d6b50227c9d8aa687f1eb22bad00 (patch)
treecdbc94c2c287ca0193906706d07d955c31668c02
parentb86cf12575fd42289803656743d40a1065150818 (diff)
Warnfix test by specifying areas for problem.
-rw-r--r--t/app/controller/admin_permissions.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/app/controller/admin_permissions.t b/t/app/controller/admin_permissions.t
index bb4a95718..3809a9d67 100644
--- a/t/app/controller/admin_permissions.t
+++ b/t/app/controller/admin_permissions.t
@@ -33,7 +33,9 @@ my $dt = DateTime->new(
second => 23
);
-my ($report) = $mech->create_problems_for_body(1, $oxfordshire->id, 'Test');
+my ($report) = $mech->create_problems_for_body(1, $oxfordshire->id, 'Test', {
+ areas => ',2237,',
+});
my $report_id = $report->id;
ok $report, "created test report - $report_id";