aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-10 18:29:23 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-10-22 15:00:46 +0100
commit8d03691a077a3cb34a157fadf357530d089131c2 (patch)
tree54cfe10c5ebd8e3f194e0ffdc92486a7071aae4e /t/app
parentb5f57d1649b7dee104e29e8c5055a09e1de06b70 (diff)
Use Chains in /report.
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/report_interest_count.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_interest_count.t b/t/app/controller/report_interest_count.t
index 04f567615..330d844d0 100644
--- a/t/app/controller/report_interest_count.t
+++ b/t/app/controller/report_interest_count.t
@@ -109,7 +109,7 @@ FixMyStreet::override_config {
$mech->content_contains( '1 supporter' );
$mech->log_out_ok( $user->email );
- $mech->post_ok("/report/support", { id => $report_id } );
+ $mech->post_ok("/report/$report_id/support");
is $mech->uri->path, "/report/$report_id", 'add support redirects to report page';