diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-09 11:57:06 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-09 11:57:06 +0100 |
commit | 0f7571bffcf898faf3a93c7aa595614ea5febc04 (patch) | |
tree | 31c4cd45cd5186a4098946742f0089c9cb81488f /t/app/controller/admin.t | |
parent | f738e18d1dc27aa1dbba0695a4d54d15ecd4cbf4 (diff) | |
parent | 097b57c516231b5c500ab521af5d52cf403ea88e (diff) |
Merge branch 'send-reopen-comment-option'
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index b69a711c8..a0a93d996 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -129,7 +129,7 @@ subtest 'check summary counts' => sub { subtest "Check admin_base_url" => sub { my $rs = FixMyStreet::App->model('DB::Problem'); - my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($report->cobrand)->new(); + my $cobrand = $report->get_cobrand_logged; is ($report->admin_url($cobrand), (sprintf 'http://www.example.org/admin/report_edit/%d', $report_id), |