diff options
author | Marius Halden <marius.h@lden.org> | 2017-11-03 16:13:59 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2017-11-03 16:13:59 +0100 |
commit | 42d874db498d0fabae92d0c87acf99054d92391b (patch) | |
tree | d0cf5afdee3d244c4e5da6fe1ab9acba620634df /t/app/controller/questionnaire.t | |
parent | 19a7c5dda85a47a68040c742791e9cd9d3e52be6 (diff) | |
parent | dc7613329c275cd158fdde8faf1c0e301f5b7202 (diff) |
Merge tag 'v2.2' into fiksgatami-dev
Diffstat (limited to 't/app/controller/questionnaire.t')
-rw-r--r-- | t/app/controller/questionnaire.t | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/t/app/controller/questionnaire.t b/t/app/controller/questionnaire.t index f42908a3e..c6d112df7 100644 --- a/t/app/controller/questionnaire.t +++ b/t/app/controller/questionnaire.t @@ -1,6 +1,3 @@ -use strict; -use warnings; -use Test::More; use DateTime; use FixMyStreet::TestMech; @@ -8,15 +5,6 @@ use FixMyStreet::App::Controller::Questionnaire; ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' ); -# Make sure there's no outstanding questionnaire emails to be sent -FixMyStreet::App->model('DB::Questionnaire')->send_questionnaires( { - site => 'fixmystreet' -} ); -$mech->clear_emails_ok; - -# create a test user and report -$mech->delete_user('test@example.com'); - my $user = $mech->create_user_ok('test@example.com', name => 'Test User'); my $dt = DateTime->now()->subtract( weeks => 5 ); @@ -458,5 +446,4 @@ FixMyStreet::override_config { is $plain->header('Content-Type'), 'text/plain; charset="utf-8"', 'email is in right encoding'; }; -$mech->delete_user('test@example.com'); done_testing(); |