diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-03-19 16:49:20 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-03-19 16:49:20 +0000 |
commit | 9c6fe361b23b04962b3e5243920f5a1b55503ba4 (patch) | |
tree | 2d80bc469776e28883bef540df972e7e6c27a9bc /perllib/FixMyStreet/TestMech.pm | |
parent | cca90a9e87513c1294944539f59326795910b5fb (diff) |
Use mech->content, as mech->response->content is pre-gunzipping.
Diffstat (limited to 'perllib/FixMyStreet/TestMech.pm')
-rw-r--r-- | perllib/FixMyStreet/TestMech.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm index addbb1752..e91c6a1d6 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -243,7 +243,7 @@ sub import_errors { my @errors = # grep { $_ } # map { s{^ERROR:\s*(.*)$}{$1}g ? $_ : undef; } # - split m/\n+/, $mech->response->content; + split m/\n+/, $mech->content; return \@errors; } |