X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F03-deprecated.t;h=49e1ef510ce510cc90509db48f763aa87e06e4e4;hb=da2816e26423ff8d3dff8b3414ce5138bb202b37;hp=f89950eca4476cc4d2ed9f1b1efca491d98bc60e;hpb=624e3018cef977b18efce156c40440aa50d26e09;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/t/03-deprecated.t b/t/03-deprecated.t index f89950e..49e1ef5 100644 --- a/t/03-deprecated.t +++ b/t/03-deprecated.t @@ -13,7 +13,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'; @@ -39,7 +39,7 @@ VERSION1: { bar => 'frew', }) } 'schema not deployed'; - $handler->install; + $handler->install({ version => '1.0' }); dies_ok { $handler->install; } 'cannot install twice';