aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert_new.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-16 15:47:42 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-16 15:47:42 +0100
commit23aa50cd6e1fb77de2d1e3ae8d29a8f8408a7930 (patch)
tree511442f4c72e6d0968171631a0f0305893ac0a53 /t/app/controller/alert_new.t
parenta48756f51e0199bf09ce7cbd66c2fcd80acb05ad (diff)
Fixes and improvements for tests.
Diffstat (limited to 't/app/controller/alert_new.t')
-rw-r--r--t/app/controller/alert_new.t1
1 files changed, 1 insertions, 0 deletions
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;