diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-09 18:33:39 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-09 18:33:39 +0100 |
commit | 6642f808d2f53e4b619ef63d50a8c13500ce8333 (patch) | |
tree | 85288f7a29b25bb7454025f7750a2d6218a34381 /t/app/controller | |
parent | 714ce37e538a611322667b0a1ce82329c35c94ef (diff) | |
parent | fb26dda031a9409a1716c379d4a86327aa142dd7 (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/alert_new.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t index 6fc32acbf..5bf7e31dd 100644 --- a/t/app/controller/alert_new.t +++ b/t/app/controller/alert_new.t @@ -208,6 +208,7 @@ foreach my $test ( param1 => 2651, param2 => 2651, confirmed => 0, + delete => 1, } ) { @@ -263,6 +264,10 @@ foreach my $test ( $mech->email_count_is( $test->{confirmed} ? 0 : 1 ); + if ( $test->{delete} ) { + $mech->delete_user($user); + $mech->delete_user($alert_user); + } }; } |