From c63f13886f245a3778c5ae91c92fbe72e79379a3 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 5 Aug 2011 16:39:22 +0100 Subject: Probably wise not to have a test dependent on another server not reorganising its db internally :) --- t/app/controller/admin.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/app/controller/admin.t') diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 9f698c629..4e2ec82fe 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -136,7 +136,7 @@ subtest 'check summary counts' => sub { my $host = FixMyStreet->config('BASE_URL'); $mech->get_ok('/admin/council_contacts/2650'); $mech->content_contains('Aberdeen City Council'); -$mech->content_contains('AB15 8RN'); +$mech->content_like(qr{AB\d\d}); $mech->content_contains("$host/around"); subtest 'check contact creation' => sub { -- cgit v1.2.3