aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-09 17:02:07 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-06-09 17:02:07 +0100
commitef777353e5dda764874b713ff131d36868e94371 (patch)
tree311fdef6d2e52bdf89b2560706daa54e1c838bbc /t/app/controller
parentabc63a85b47bbc6b9e81c8256a226864ac7fe0ce (diff)
parente210a3576aa4fe247feafe4f7c0d27e308faba86 (diff)
Merge branch 'alert-active-deletion'
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/alert_new.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t
index 7eba90530..d968b56b1 100644
--- a/t/app/controller/alert_new.t
+++ b/t/app/controller/alert_new.t
@@ -523,6 +523,8 @@ subtest "Test alerts are not sent for no-text updates" => sub {
};
$mech->email_count_is(1);
+ $user2->discard_changes;
+ isnt $user2->last_active, undef, 'Last active has been set';
$mech->delete_user($user1);
$mech->delete_user($user2);