X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02-instantiation-wo-component.t;h=360335f3c9c2ed5a06d33d14172d5bbf3ec83a29;hb=8b810386d7e04607a8c85ef130c5a3be7e5a00d2;hp=bdea8219741204f3a989bfdc35a2f8094b46ae3b;hpb=5761fe02e68a534a47a6a5ff905c73ec991703cd;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/t/02-instantiation-wo-component.t b/t/02-instantiation-wo-component.t index bdea821..360335f 100644 --- a/t/02-instantiation-wo-component.t +++ b/t/02-instantiation-wo-component.t @@ -14,8 +14,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: {