From c5c308d37fef6ba9ab2676759f08f4de316ff543 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 9 Feb 2016 14:43:38 +0000 Subject: Exclude update alerts from summary alert counts. There might be the odd update alert we are interested in (those not auto-signed up for as part of report or update creation), but they will be rare. --- t/app/controller/admin.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 42fd076c7..92cbbc00f 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -63,8 +63,8 @@ my $report = FixMyStreet::App->model('DB::Problem')->find_or_create( my $alert = FixMyStreet::App->model('DB::Alert')->find_or_create( { - alert_type => 'new_updates', - parameter => $report->id, + alert_type => 'area_problems', + parameter => 2482, confirmed => 1, user => $user, }, -- cgit v1.2.3