diff options
Diffstat (limited to 't')
-rw-r--r-- | t/cobrand/oxfordshire.t | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/t/cobrand/oxfordshire.t b/t/cobrand/oxfordshire.t index ee30e7e0b..54c6e32ea 100644 --- a/t/cobrand/oxfordshire.t +++ b/t/cobrand/oxfordshire.t @@ -185,57 +185,6 @@ subtest 'Reports are marked as inspected correctly' => sub { }; }; -subtest 'response times messages displayed' => sub { - my $oxfordshire = $mech->create_body_ok( - 2237, 'Oxfordshire County Council' - ); - my $contact = $mech->create_contact_ok( - body_id => $oxfordshire->id, - category => 'Pothole', - email => 'pothole@example.com', - ); - - FixMyStreet::override_config { - ALLOWED_COBRANDS => [ 'oxfordshire' ], - MAPIT_URL => 'http://mapit.uk/', - }, sub { - $mech->log_out_ok; - $mech->clear_emails_ok; - - $mech->get_ok('/around'); - $mech->submit_form_ok( { - with_fields => { pc => 'OX20 1SZ' } - }, - "submit_location" - ); - - $mech->follow_link_ok( { text_regex => qr/skip this step/i, }, - "follow 'skip this step' link" ); - - $mech->submit_form_ok( - { - with_fields => { - title => 'Test Report', - detail => 'Test report details.', - photo1 => '', - username => 'test-2@example.com', - name => 'Test User', - category => 'Pothole', - } - }, - "submit details" - ); - - $mech->text_contains('Problems in the Pothole category are generally responded'); - my $email = $mech->get_email; - ok $email, 'got and email'; - like $mech->get_text_body_from_email, qr/Problems in the Pothole category/, 'emails contains response time message'; - my $url = $mech->get_link_from_email($email); - $mech->get_ok($url); - $mech->text_contains('Problems in the Pothole category are generally responded') - }; -}; - END { done_testing(); } |