diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-10-16 15:38:15 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-12-17 12:28:57 +0000 |
commit | 72e985a90f71a63176b19cd8fb35e10408ef1e48 (patch) | |
tree | 723eaaca92f3d42dac9cbc77cf8a27fb3e08ec6c /t/app/controller | |
parent | ea56a97b90235ff5702840ff7b2d8f209bedfc13 (diff) |
Fix test issue where CSRF token contained number.
Giving a false positive.
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_new.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index e3126c7e1..1f5ad2b52 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -935,7 +935,7 @@ subtest "test password errors for a user who is signing in as they report" => su "There was a problem with your login information. If you cannot remember your password, or do not have one, please fill in the \x{2018}No\x{2019} section of the form.", ], "check there were errors"; - $mech->content_lacks('1234', 'phone number not shown'); + $mech->content_lacks('1234 567', 'phone number not shown'); }; foreach my $test ( |