aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-14 11:04:53 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-14 11:07:13 +0000
commitcc6de3bf2b1bbc267ef2ebf52f3574d2b4fadb7f (patch)
treed65df6672c8953fd6e837f58d4141eeb02dc2a52 /t/app/controller
parent54e89eb5366ebc55fdd10547139f431fcca80aca (diff)
Update error message (missed from previous).
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/report_new.t2
-rw-r--r--t/app/controller/report_updates.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t
index 6da9afa24..625c7531f 100644
--- a/t/app/controller/report_new.t
+++ b/t/app/controller/report_new.t
@@ -493,7 +493,7 @@ subtest "test password errors for a user who is signing in as they report" => su
# check that we got the errors expected
is_deeply $mech->form_errors, [
- 'There was a problem with your email/password combination. Passwords and user accounts are a brand new service, so you probably do not have one yet – please fill in the right hand side of this form to get one.'
+ "There was a problem with your email/password combination. If you cannot remember your password, or do not have one, please fill in the \x{2018}sign in by email\x{2019} section of the form.",
], "check there were errors";
};
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index 99f1ba62d..9c2b0861b 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -604,7 +604,7 @@ for my $test (
password_sign_in => 'secret',
},
field_errors => [
- "There was a problem with your email/password combination. Passwords and user accounts are a brand new service, so you probably do not have one yet \x{2013} please fill in the right hand side of this form to get one.",
+ "There was a problem with your email/password combination. If you cannot remember your password, or do not have one, please fill in the \x{2018}sign in by email\x{2019} section of the form.",
'Please enter your name', # FIXME Not really necessary error
],
},