aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new_update.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/report_new_update.t')
-rw-r--r--t/app/controller/report_new_update.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/controller/report_new_update.t b/t/app/controller/report_new_update.t
index cbb31cea4..e20975c3a 100644
--- a/t/app/controller/report_new_update.t
+++ b/t/app/controller/report_new_update.t
@@ -1,4 +1,5 @@
use FixMyStreet::TestMech;
+use FixMyStreet::Script::Alerts;
# disable info logs for this test run
FixMyStreet::App->log->disable('info');
@@ -43,6 +44,9 @@ subtest "test report creation with initial auto-update" => sub {
is $comment->user->id, $comment_user->id;
is $comment->external_id, 'auto-internal';
is $comment->name, 'Glos Council';
+
+ FixMyStreet::Script::Alerts::send();
+ my $email = $mech->get_email;
};
done_testing;