diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:25:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 18:25:32 +0100 |
commit | 90208bb808c84209b16ce1628e04a8eaa6e10448 (patch) | |
tree | 65d02dd615762cabdfdbc2a026885ebef1ea23e2 /t/app/controller/report_new.t | |
parent | bf062b508081521201cf315f483b7aee3a6a0c7b (diff) | |
parent | 3687cc573db7fbdae09773d9007bc6abeac89409 (diff) |
Merge branch '700-auto-emails'
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r-- | t/app/controller/report_new.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index 98b0175f8..157d63d01 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -587,7 +587,7 @@ foreach my $test ( # receive token my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to send your\s+report/i, "confirm the problem"; my ($url) = $email->body =~ m{(http://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -932,7 +932,7 @@ subtest "test report creation for a category that is non public" => sub { my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to send your\s+report/i, "confirm the problem"; my ($url) = $email->body =~ m{(http://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -1128,7 +1128,7 @@ for my $test ( my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to send your\s+report/i, "confirm the problem"; my ($url) = $email->body =~ m{(https?://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -1298,7 +1298,7 @@ subtest "test Lichfield" => sub { # receive token my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/to confirm that you want to send your/i, "confirm the problem"; my ($url) = $email->body =~ m{(http://\S+)}; ok $url, "extracted confirm url '$url'"; @@ -1576,7 +1576,7 @@ subtest "extra google analytics code displayed on email confirmation problem cre my $email = $mech->get_email; ok $email, "got an email"; - like $email->body, qr/confirm the problem/i, "confirm the problem"; + like $email->body, qr/confirm that you want to/i, "confirm the problem"; my ($url) = $email->body =~ m{(https?://\S+)}; ok $url, "extracted confirm url '$url'"; |