aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-07-15 11:02:06 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-15 11:02:06 +0100
commitfda6671e5f06f2b0e6031958695ac580c4b9d6ec (patch)
treed3c9aea06a1aafefa1ede5144e457018240d2d9d /t/app/controller/report_new.t
parentaa0a3912b17bdab7ea0df09873236c1978d8a682 (diff)
Stop using collapse filter in category template.
If a category had eg. a double space, the use of the filter meant it was output in the HTML with only a single space and so woudn't match the database entry. Switch to more explicit template space chomping.
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r--t/app/controller/report_new.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t
index 9b10de2bf..6ea4c9523 100644
--- a/t/app/controller/report_new.t
+++ b/t/app/controller/report_new.t
@@ -85,7 +85,7 @@ my $contact6 = $mech->create_contact_ok(
);
my $contact7 = $mech->create_contact_ok(
body_id => $body_ids{2227}, # Hampshire
- category => 'Street lighting',
+ category => 'Street lighting',
email => 'highways@example.com',
);
my $contact8 = $mech->create_contact_ok(