diff options
-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; } |