aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-02-09 14:43:38 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-02-09 14:58:15 +0000
commitc5c308d37fef6ba9ab2676759f08f4de316ff543 (patch)
tree501035885184974a2fbb4293c85678137d4efc86 /t
parenta92cb4d9b33b48376cf3b66a76e2503c786c28e8 (diff)
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.
Diffstat (limited to 't')
-rw-r--r--t/app/controller/admin.t4
1 files changed, 2 insertions, 2 deletions
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,
},