From: Errietta Kostala Date: Wed, 28 Jan 2015 16:08:32 +0000 (+0000) Subject: rm t/var before/after test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1697030541bac46294ecf45c0996f66d05d05e72;p=scpubgit%2Fstemmaweb.git rm t/var before/after test --- diff --git a/t/07google.t b/t/07google.t index 46e6a20..37d7d74 100644 --- a/t/07google.t +++ b/t/07google.t @@ -13,6 +13,7 @@ use Test::WWW::Mechanize; use Test::More; use HTML::TreeBuilder; use Data::Dumper; +use IO::All; use stemmaweb::Test::DB; @@ -26,6 +27,8 @@ LWP::Protocol::PSGI->register(stemmaweb->psgi_app); my $ua = Test::WWW::Mechanize->new; +io("$FindBin::Bin/var")->rmtree; + { my $scope = $dir->new_scope; @@ -219,4 +222,6 @@ my $ua = Test::WWW::Mechanize->new; $ua->content_contains('Hello! 4242!', 'We are logged in.'); } +io("$FindBin::Bin/var")->rmtree; + done_testing;