change all the tests to use the new test schema namespace
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / bugs / 01-emailed-bug-01.t
index 1303f04..8e65db4 100644 (file)
@@ -14,13 +14,13 @@ use Test::Exception;
 
 DBICDHTest::ready;
 
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
 my @connection = (sub { $dbh }, { ignore_version => 1 });
 my $sql_dir = 't/sql';
 
 use_ok 'DBICVersion_v1';
-my $s = DBICVersion::Schema->connect(@connection);
-$DBICVersion::Schema::VERSION = 1;
+my $s = DBICVersion::Schema1->connect(@connection);
+$DBICVersion::Schema1::VERSION = 1;
 ok($s, 'DBICVersion::Schema 1 instantiates correctly');
 
 my $dh = DH->new({