X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=t%2Fdeploy_methods%2Fsql_translator_deprecated.t;h=768b514db23e18d299e0fb71a5c3a77feb0c897f;hp=709fcd02345920502a3ab158e788f74fb937252f;hb=refs%2Fheads%2Fmigration_schema;hpb=cdb45dee99a52a37f6e61bfbec2e4af8f3a59f51 diff --git a/t/deploy_methods/sql_translator_deprecated.t b/t/deploy_methods/sql_translator_deprecated.t index 709fcd0..768b514 100644 --- a/t/deploy_methods/sql_translator_deprecated.t +++ b/t/deploy_methods/sql_translator_deprecated.t @@ -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,