aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index 60cbd6937..b92041830 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -133,10 +133,11 @@ subtest 'check summary counts' => sub {
ok $mech->host('fixmystreet.com');
};
+my $host = FixMyStreet->config('OPTION_BASE_URL');
$mech->get_ok('/admin/council_contacts/2650');
$mech->content_contains('Aberdeen City Council');
$mech->content_contains('AB15 8RN');
-$mech->content_contains('street.com/around');
+$mech->content_contains("$host/around");
subtest 'check contact creation' => sub {
my $contact = FixMyStreet::App->model('DB::Contact')->search(