diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-15 18:25:08 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-02 18:06:22 +0000 |
commit | 660631a3ff063e6378c9838f40c1d9bfa8dcfd43 (patch) | |
tree | 0fc54ec7c71e0923376c1abbfea87756521c8e40 /t/app/controller/report_new_text.t | |
parent | 64a24f1d9bf251cc57d363e7bf57d4218a5e2cb8 (diff) |
Have /around ajax use same format as others.
Both /reports and /my work by using the same URL with ajax=1. We should
use the same on /around for consistency.
Diffstat (limited to 't/app/controller/report_new_text.t')
-rw-r--r-- | t/app/controller/report_new_text.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_new_text.t b/t/app/controller/report_new_text.t index 94f350eba..734b9dbb4 100644 --- a/t/app/controller/report_new_text.t +++ b/t/app/controller/report_new_text.t @@ -362,7 +362,7 @@ subtest "test report creation for a user who is logged in" => sub { $mech->logged_in_ok; $mech->get_ok( - '/ajax?bbox=' . ($report->longitude - 0.01) . ',' . ($report->latitude - 0.01) + '/around?ajax=1&bbox=' . ($report->longitude - 0.01) . ',' . ($report->latitude - 0.01) . ',' . ($report->longitude + 0.01) . ',' . ($report->latitude + 0.01) ); $mech->content_contains( "Test Report at caf\xc3\xa9" ); |