aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-21 19:19:47 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-21 19:19:47 +0100
commitcbe452b78f9966a6200a57e79cbeecae3c1acdfd (patch)
treeafec1992d795ac29572f585d7672884f8ff8ba7b /t/app/controller/admin.t
parent62887757a6b8a94047911a90b44e6bf12776b08d (diff)
use the configured host
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(