diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-08 14:20:36 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-09 11:54:51 +0100 |
commit | 7a0e456e59041b90b527934777f449518ea54065 (patch) | |
tree | fa319cc3f7ed0c8304fea6e06d39adabe9c74b14 /t | |
parent | 38fe802b9bb5cbb749d8f4c39cefc043b8c046cd (diff) |
Add get_cobrand_logged to Comment.
Diffstat (limited to '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), |