diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-12-17 15:43:55 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-12-17 15:43:57 +0000 |
commit | 37fae278a8c56bfab4db7c9851af88d1c98ba357 (patch) | |
tree | 4556a02117d5a319eb0586563c319ea34c19b6ee /t/app/controller | |
parent | ea56a97b90235ff5702840ff7b2d8f209bedfc13 (diff) |
Check area IDs non-empty in inspector redirect.
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_inspect.t | 2 |
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", |