X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F03-deprecated.t;h=f89950eca4476cc4d2ed9f1b1efca491d98bc60e;hb=8bb2f1ac7ad65531f27e24967076fa133f08da93;hp=84e25f285e6a6932350f3b98f30fbd08f0cf2755;hpb=91adde755e5808a1ec12bcf00e683e3754964cc9;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/t/03-deprecated.t b/t/03-deprecated.t index 84e25f2..f89950e 100644 --- a/t/03-deprecated.t +++ b/t/03-deprecated.t @@ -13,8 +13,8 @@ use Test::Exception; DBICDHTest::ready; -my $db = 'dbi:SQLite:db.db'; -my @connection = ($db, '', '', { ignore_version => 1 }); +my $dbh = DBI->connect('dbi:SQLite::memory:'); +my @connection = (sub { $dbh }, { ignore_version => 1 }); my $sql_dir = 't/sql'; VERSION1: {