X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=t%2Fbugs%2F01-emailed-bug-01.t;fp=t%2Fbugs%2F01-emailed-bug-01.t;h=191a583219d1cd02f5ff0c878e031bf13f376c5a;hp=dca69b98e7f8d7a842895ba6737d2385b1e9c19e;hb=7b3d00f984e43c319a637332579e950376637a3d;hpb=562030878a850a01073774f27769748077c79176 diff --git a/t/bugs/01-emailed-bug-01.t b/t/bugs/01-emailed-bug-01.t index dca69b9..191a583 100644 --- a/t/bugs/01-emailed-bug-01.t +++ b/t/bugs/01-emailed-bug-01.t @@ -10,13 +10,12 @@ use aliased 'DBIx::Class::DeploymentHandler', 'DH'; use File::Path 'remove_tree'; use Test::More; +use File::Temp 'tempdir'; use Test::Exception; -DBICDHTest::ready; - my $dbh = DBICDHTest::dbh(); my @connection = (sub { $dbh }, { ignore_version => 1 }); -my $sql_dir = 't/sql'; +my $sql_dir = tempdir( CLEANUP => 1 ); use_ok 'DBICVersion_v1'; my $s = DBICVersion::Schema->connect(@connection);