diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-11-27 16:08:56 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-12-02 17:41:48 +0000 |
commit | 7b20745945638cce030879eafc8cac8f8bd81c56 (patch) | |
tree | 6c1cf64ad4d818c10d996cb3e6d8de05c512cdfa /t/app/controller/admin.t | |
parent | 23949e52f20020fa56cd54655a487ef97ebbc222 (diff) |
Move main bin scripts to separate packages.
Maintain old location wrappers.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index e2dd5df19..96565e82b 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -1240,9 +1240,7 @@ subtest "Check admin_base_url" => sub { my $rs = FixMyStreet::App->model('DB::Problem'); my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($report->cobrand)->new(); - is (FixMyStreet::App->model('DB::Problem')->get_admin_url( - $cobrand, - $report), + is ($report->admin_url($cobrand), (sprintf 'https://secure.mysociety.org/admin/bci/report_edit/%d', $report_id), 'get_admin_url OK'); }; |