projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix tests to be in-memory
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
t
/
03-deprecated.t
diff --git
a/t/03-deprecated.t
b/t/03-deprecated.t
index
84e25f2
..
f89950e
100644
(file)
--- a/
t/03-deprecated.t
+++ b/
t/03-deprecated.t
@@
-13,8
+13,8
@@
use Test::Exception;
DBICDHTest::ready;
-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';
VERSION1: {