diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-22 16:58:52 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-22 16:58:52 +0100 |
commit | a12b57169517908e81d695459537dc7df4c0ed40 (patch) | |
tree | 372b91407c36186b9e223b3ae350cfc97c8c0df2 /t/app/controller/admin.t | |
parent | cebb347fe0c85ab841b31e0db2174515191cc972 (diff) | |
parent | cbe452b78f9966a6200a57e79cbeecae3c1acdfd (diff) |
Merge branch 'master' of ssh://matthew@git.mysociety.org/data/git/public/fixmystreet
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 3 |
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( |