From 88933aa8df0f748dce8188cde99b6199ae070864 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 1 Jul 2016 13:35:17 +0100 Subject: Make sure map JS works through an admin proxy. Tidy up use of absolute URLs when in the admin. Have the 404 handler spot static files in admin as a fallback. --- t/app/controller/admin.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/app/controller/admin.t') diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index f8f280d63..007948299 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -1232,7 +1232,7 @@ subtest "Check admin_base_url" => sub { my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($report->cobrand)->new(); is ($report->admin_url($cobrand), - (sprintf 'https://secure.mysociety.org/admin/bci/report_edit/%d', $report_id), + (sprintf 'http://www.example.org/admin/report_edit/%d', $report_id), 'get_admin_url OK'); }; -- cgit v1.2.3