diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-08-28 12:56:30 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-08-28 12:56:30 +0100 |
commit | 89edf5c0e62957f912033c3de7f2fb3b5bde2037 (patch) | |
tree | 78430a9b3e6cf5c79c5388ede0696af8f2cfd775 /t/app/controller/report_new.t | |
parent | 72171ee4b6185c71593fc8824c0b79a30dd20464 (diff) |
Revert "update test as country problems on district council cobrands now redirect"
This reverts commit 0fb910f46e49f9868c8ae134f0984ac16a28fb3f.
The redirect wasn't supposed to be happening.
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r-- | t/app/controller/report_new.t | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index f97e0daf4..88236a1c3 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -1015,16 +1015,8 @@ SKIP: { $report->discard_changes; is $report->state, 'confirmed', "Report is now confirmed"; - # County problems are redirected to the main site - $mech->get_ok( '/report/' . $report->id ); - $mech->title_like( - qr/Test Report - Viewing a problem :: FixMyStreet/, - 'county problems redirected to main FMS site' - ); - $mech->content_lacks( - 'Lichfield District', - 'Not on Lichfield cobrand' - ); + # Shouldn't be found, as it was a county problem + is $mech->get( '/report/' . $report->id )->code, 404, "report not found"; # But should be on the main site $mech->host( 'www.fixmystreet.com' ); |