aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-12-17 15:43:55 +0000
committerMatthew Somerville <matthew@mysociety.org>2019-12-17 15:43:57 +0000
commit37fae278a8c56bfab4db7c9851af88d1c98ba357 (patch)
tree4556a02117d5a319eb0586563c319ea34c19b6ee /t/app/controller
parentea56a97b90235ff5702840ff7b2d8f209bedfc13 (diff)
Check area IDs non-empty in inspector redirect.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/report_inspect.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_inspect.t b/t/app/controller/report_inspect.t
index afd8d6d17..aeb344922 100644
--- a/t/app/controller/report_inspect.t
+++ b/t/app/controller/report_inspect.t
@@ -82,7 +82,7 @@ FixMyStreet::override_config {
for my $test (
{
name => "categories only",
- area_ids => undef,
+ area_ids => [],
categories => [ $contact->id ],
destination => "/reports/Oxfordshire",
previous => "/my/inspector_redirect",