aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-04-16 17:57:27 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-04-23 15:39:50 +0100
commit86eae502d494090430f3076f25331df797b9172b (patch)
treec4011f364c6d3bf7e3f12b616d2b54f6277f4bb1 /t/app
parent0c4e267f43c573f638dd4771e5c39f6b3861dd3d (diff)
Have only one bodies_to_list variable.
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/report_new.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t
index 0e7547a85..e12391804 100644
--- a/t/app/controller/report_new.t
+++ b/t/app/controller/report_new.t
@@ -1169,6 +1169,7 @@ FixMyStreet::override_config {
$extra_details = $mech->get_ok_json( '/report/new/ajax?latitude=' . $saved_lat . '&longitude=' . $saved_lon );
};
$mech->content_contains( "Pothol\xc3\xa9s" );
+like $extra_details->{councils_text}, qr/<strong>Cheltenham/;
ok !$extra_details->{titles_list}, 'Non Bromley does not send back list of titles';
FixMyStreet::override_config {