aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/TestMech.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-09-08 20:59:43 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-09-08 20:59:43 +0100
commit948c591f80f6d79d8442da309f5173357d116ceb (patch)
tree80e406ec0a91ffcfc8e9c1cd7a27d96ef1a727d1 /perllib/FixMyStreet/TestMech.pm
parent5ed1e811cd31616cb591691a72b80b0bbbb5a002 (diff)
Fix tests, and remove unwanted height.
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 1391254b6..185b59daa 100644
--- a/perllib/FixMyStreet/TestMech.pm
+++ b/perllib/FixMyStreet/TestMech.pm
@@ -364,7 +364,7 @@ sub extract_problem_banner {
my $mech = shift;
my $result = scraper {
- process 'div#side > p', id => '@id', text => 'TEXT';
+ process 'div#side > p.banner', id => '@id', text => 'TEXT';
}
->scrape( $mech->response );