diff options
Diffstat (limited to 't/cobrand')
-rw-r--r-- | t/cobrand/zurich.t | 10 |
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(); +} |