From 23aa50cd6e1fb77de2d1e3ae8d29a8f8408a7930 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 16 May 2012 15:47:42 +0100 Subject: Fixes and improvements for tests. --- t/app/controller/alert_new.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/app/controller/alert_new.t') diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t index 3a4c2ef81..85eea7cda 100644 --- a/t/app/controller/alert_new.t +++ b/t/app/controller/alert_new.t @@ -445,6 +445,7 @@ subtest "Test normal alert signups and that alerts are sent" => sub { ok $update, "created test update - $update_id"; FixMyStreet::App->model('DB::AlertType')->email_alerts(); + # TODO Note the below will fail if the db has an existing alert that matches $mech->email_count_is(3); my @emails = $mech->get_email; my $count; -- cgit v1.2.3