Schemata don't have to use component to use DBICDH
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / no-component-lib / DBICDHTest.pm
diff --git a/t/no-component-lib/DBICDHTest.pm b/t/no-component-lib/DBICDHTest.pm
new file mode 100644 (file)
index 0000000..7960e05
--- /dev/null
@@ -0,0 +1,18 @@
+package DBICDHTest;
+
+use strict;
+use warnings;
+
+use File::Path 'remove_tree';
+use Test::More;
+use Test::Exception;
+
+sub ready {
+   unlink 'db.db' if -e 'db.db';
+   if (-d 't/sql') {
+     remove_tree('t/sql');
+     mkdir 't/sql';
+   }
+}
+
+1;