aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r--t/app/controller/report_new.t12
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' );