aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-22 08:41:10 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-22 08:41:10 +0100
commit56999c8a8bc9515a67b46702607ba2d6a6cbd28a (patch)
tree0db80363481c96b6ada890898cf61d09ef8fab53 /t/app/controller/admin.t
parent3d1798ff5ebf15d59c704545412c91d3a68b1035 (diff)
parentcbe452b78f9966a6200a57e79cbeecae3c1acdfd (diff)
Merge branch 'master' into new_statuses
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(