DBICDHTest::ready;
-my $db = 'dbi:SQLite:db.db';
-my @connection = ($db, '', '', { ignore_version => 1 });
+my $dbh = DBICDHTest::dbh();
+my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
VERSION1: {
bar => 'frew',
})
} 'schema not deployed';
- $handler->install;
+ $handler->install({ version => '1.0' });
dies_ok {
$handler->install;
} 'cannot install twice';