change all the tests to use the new test schema namespace
[dbsrgits/DBIx-Class-DeploymentHandler.git] / t / deploy_methods / sql_translator_deprecated.t
index 709fcd0..768b514 100644 (file)
@@ -18,7 +18,7 @@ DBICDHTest::ready;
 
 VERSION1: {
    use_ok 'DBICVersion_v1';
-   my $s = DBICVersion::Schema->connect(@connection);
+   my $s = DBICVersion::Schema1->connect(@connection);
    my $dm = Deprecated->new({
       schema            => $s,
       script_directory => $sql_dir,
@@ -31,7 +31,7 @@ VERSION1: {
    $dm->prepare_deploy;
 
    ok(
-      -f catfile(qw( t sql DBICVersion-Schema-1.0-SQLite.sql )),
+      -f catfile(qw( t sql DBICVersion-Schema1-1.0-SQLite.sql )),
       '1.0 schema gets generated properly'
    );
 
@@ -50,7 +50,7 @@ VERSION1: {
 
 VERSION2: {
    use_ok 'DBICVersion_v2';
-   my $s = DBICVersion::Schema->connect(@connection);
+   my $s = DBICVersion::Schema2->connect(@connection);
    my $dm = Deprecated->new({
       schema            => $s,
       script_directory => $sql_dir,