projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
removed Method::Signatures::Simple
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
t
/
lib
/
DBICDHTest.pm
diff --git
a/t/lib/DBICDHTest.pm
b/t/lib/DBICDHTest.pm
index
6b76475
..
013f79f
100644
(file)
--- a/
t/lib/DBICDHTest.pm
+++ b/
t/lib/DBICDHTest.pm
@@
-4,14
+4,17
@@
use strict;
use warnings;
use File::Path 'remove_tree';
+use DBI;
sub ready {
- unlink 'db.db' if -e 'db.db';
if (-d 't/sql') {
remove_tree('t/sql');
mkdir 't/sql';
}
}
+sub dbh {
+ DBI->connect('dbi:SQLite::memory:', undef, undef, { RaiseError => 1 })
+}
1;