aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/TestMech.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-03-29 18:00:07 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-03-30 15:58:55 +0100
commitf4064c90d64b3a3ae6e168ff06c0202c4c1d7c50 (patch)
tree3d3da8f8426df7791d693ee6c2cbbf729fbad876 /perllib/FixMyStreet/TestMech.pm
parente994554ec343239c4c5235338f5fd04046f247b8 (diff)
Switch list item heading from h4 to h3.
This stops the front page header nesting skipping a level.
Diffstat (limited to 'perllib/FixMyStreet/TestMech.pm')
-rw-r--r--perllib/FixMyStreet/TestMech.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm
index f3ee7787b..2ad820d1f 100644
--- a/perllib/FixMyStreet/TestMech.pm
+++ b/perllib/FixMyStreet/TestMech.pm
@@ -423,7 +423,7 @@ sub extract_problem_list {
my $mech = shift;
my $result = scraper {
- process 'ul.item-list--reports li a h4', 'problems[]', 'TEXT';
+ process 'ul.item-list--reports li a h3', 'problems[]', 'TEXT';
}->scrape( $mech->response );
return $result->{ problems } || [];