diff options
-rw-r--r-- | perllib/FixMyStreet/TestMech.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm index 6cd4a85f3..b558d0dda 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -128,6 +128,8 @@ sub delete_user { } $mech->log_out_ok; + ok( $_->delete, "delete comment" . $_->text ) # + for $user->comments; ok( $_->delete, "delete problem " . $_->title ) # for $user->problems; ok( $_->delete, "delete alert " . $_->alert_type ) |