diff options
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r-- | t/app/controller/report_updates.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index 0337a881b..cf6af16cb 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -271,7 +271,7 @@ for my $test ( $mech->submit_form_ok( { with_fields => $test->{fields} }, 'submit update' ); - is_deeply $mech->form_errors, $test->{field_errors}, 'field errors'; + is_deeply $mech->page_errors, $test->{field_errors}, 'field errors'; my $values = { %{ $test->{fields} }, @@ -640,7 +640,7 @@ for my $test ( 'submit update' ); - is_deeply $mech->form_errors, $test->{field_errors}, 'check there were errors'; + is_deeply $mech->page_errors, $test->{field_errors}, 'check there were errors'; SKIP: { skip( "Incorrect password", 5 ) unless $test->{form_values}{password_sign_in} eq $pw; |