diff options
author | Dave Arter <davea@mysociety.org> | 2019-07-31 15:31:11 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-16 14:25:12 +0100 |
commit | 9608d5937380a1264ece14b2748837002edb0f94 (patch) | |
tree | eefb44309404f1db4f86e87565edd94dcbe4282e /t/app/controller/index.t | |
parent | 391f22eca24af2e2268a0ed9715936386e4f0246 (diff) |
Enable passing of ‘filter_group’ param to / to pre-filter /around map
Diffstat (limited to 't/app/controller/index.t')
-rw-r--r-- | t/app/controller/index.t | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/app/controller/index.t b/t/app/controller/index.t index 691eb0007..3f3aed48e 100644 --- a/t/app/controller/index.t +++ b/t/app/controller/index.t @@ -92,9 +92,10 @@ subtest "prefilters /around if user has categories" => sub { }; subtest "prefilters /around if filter_category given in URL" => sub { - $mech->get_ok('/?filter_category=MyUniqueTestCategory'); - # NB can't use visible_form_values because categories field is hidden + $mech->get_ok('/?filter_category=MyUniqueTestCategory&filter_group=MyUniqueTestGroup'); + # NB can't use visible_form_values because fields are hidden $mech->content_contains("MyUniqueTestCategory"); + $mech->content_contains("MyUniqueTestGroup"); }; END { |