#!perl
+use strict;
+use warnings;
+
use Test::More;
use Test::Exception;
use File::Spec::Functions;
use File::Path qw(rmtree mkpath);
-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';
DBICDHTest::ready;
txn_wrap => 1,
});
- $version = $s->schema_version();
$dm->prepare_deploy;
mkpath(catfile(qw( t sql _preprocess_schema upgrade 1.0-2.0 )));
open my $prerun, '>',