X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02-instantiation-wo-component.t;h=b5fee696ba2a75e2e376be38e61c524db24e75d8;hb=da2816e26423ff8d3dff8b3414ce5138bb202b37;hp=360335f3c9c2ed5a06d33d14172d5bbf3ec83a29;hpb=624e3018cef977b18efce156c40440aa50d26e09;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/t/02-instantiation-wo-component.t b/t/02-instantiation-wo-component.t index 360335f..b5fee69 100644 --- a/t/02-instantiation-wo-component.t +++ b/t/02-instantiation-wo-component.t @@ -14,7 +14,7 @@ use Test::Exception; DBICDHTest::ready; -my $dbh = DBI->connect('dbi:SQLite::memory:'); +my $dbh = DBICDHTest::dbh(); my @connection = (sub { $dbh }, { ignore_version => 1 }); my $sql_dir = 't/sql'; @@ -40,7 +40,7 @@ VERSION1: { bar => 'frew', }) } 'schema not deployed'; - $handler->install; + $handler->install({ version => 1 }); dies_ok { $handler->install; } 'cannot install twice';