aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r--t/app/controller/report_new.t10
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'";