X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=t%2F03-deprecated.t;h=447aaf10de97de6ea2084cfd687fe320788e3f52;hp=49e1ef510ce510cc90509db48f763aa87e06e4e4;hb=7b3d00f984e43c319a637332579e950376637a3d;hpb=562030878a850a01073774f27769748077c79176 diff --git a/t/03-deprecated.t b/t/03-deprecated.t index 49e1ef5..447aaf1 100644 --- a/t/03-deprecated.t +++ b/t/03-deprecated.t @@ -9,13 +9,12 @@ use aliased 'DBIx::Class::DeploymentHandler::Deprecated'; 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 ); VERSION1: { use_ok 'DBICVersion_v1';