aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-09-30 16:34:00 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-13 19:22:11 +0100
commita5ef113e2cc3105da41cf5449b505db6fa336c59 (patch)
treec60d906c0b5dd6fc974a35f8e921ae728dab080c /t/app
parent3872c39f5426165c3abfe397d15dd2a63f731e26 (diff)
Allow multiple selections in report list filter.
This lets people filter by multiple categories or states. It uses our jQuery multi-select plugin to turn the <select multiple>s into little overlay lists of checkboxes. HTML5 history is also supported.
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/reports.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/reports.t b/t/app/controller/reports.t
index 8869adaa7..141269cd8 100644
--- a/t/app/controller/reports.t
+++ b/t/app/controller/reports.t
@@ -226,7 +226,7 @@ subtest "test greenwich all reports page" => sub {
$mech->get_ok('/reports/Royal+Borough+of+Greenwich');
# There should not be deleted categories in the list
my $category_select = $mech->forms()->[0]->find_input('filter_category');
- is $category_select->possible_values, 1, 'deleted categories are not shown';
+ is $category_select, undef, 'deleted categories are not shown';
# Clean up after the test
$deleted_contact->delete;