Fix stupid docs
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / 03-deprecated.t
index f89950e..49e1ef5 100644 (file)
@@ -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';