aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-02 13:11:59 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-02 13:11:59 +0100
commit89431e1bb0abde71953876ed642dc1344c28c0e9 (patch)
treea0e4e1f8d5644ff7e609fce66ced06665e488791
parent2453b1dec215cd69926c649839e454c43e3e5469 (diff)
Test fix as error class changed.
-rw-r--r--t/app/controller/report_new.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t
index 4a8cbbbfe..5fc6e6a5d 100644
--- a/t/app/controller/report_new.t
+++ b/t/app/controller/report_new.t
@@ -731,7 +731,7 @@ subtest "check that a lat/lon off coast leads to /around" => sub {
is $mech->uri->path, '/around', "redirected to '/around'";
is_deeply #
- $mech->page_errors,
+ $mech->form_errors,
[ 'That spot does not appear to be covered by a council. If you have'
. ' tried to report an issue past the shoreline, for example, please'
. ' specify the closest point on land.' ], #