removed Method::Signatures::Simple
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / lib / DBICDHTest.pm
index 6b76475..013f79f 100644 (file)
@@ -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;