aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-07-01 13:35:17 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-04 16:26:56 +0100
commit88933aa8df0f748dce8188cde99b6199ae070864 (patch)
tree11a5ad35d1ab675a18ec73b752d35f8540414cc4 /t/app/controller
parent45aaf63033e7d4d24ba570f7460746fe28f9f59f (diff)
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.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/admin.t2
1 files changed, 1 insertions, 1 deletions
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');
};