aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-05-30 21:31:14 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-05-30 21:31:14 +0100
commit8da97b4fd313b215c17267ab3d36ac55a81fbe98 (patch)
treeb08a017426ce5da1ca8779459f883e41d5e8f457 /t/cobrand
parent60272108c219cddb3a8872bf167072ced997590e (diff)
Fix test of postcode that has moved ever so slightly.
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/zurich.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index 16c0b77f8..e8cf3bee3 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -680,8 +680,8 @@ subtest "test admin_log" => sub {
is $entries[-1]->action, 'state change to hidden', 'State change logged as expected';
};
-cleanup();
-
-ok $mech->host("www.fixmystreet.com"), "change host back";
-
-done_testing();
+END {
+ cleanup();
+ ok $mech->host("www.fixmystreet.com"), "change host back";
+ done_testing();
+}