[Bast-commits] r8083 - DBIx-Class/0.08/branches/dbicadmin_refactor/t/admin

goraxe at dev.catalyst.perl.org goraxe at dev.catalyst.perl.org
Sat Dec 12 18:36:22 GMT 2009


Author: goraxe
Date: 2009-12-12 18:36:22 +0000 (Sat, 12 Dec 2009)
New Revision: 8083

Modified:
   DBIx-Class/0.08/branches/dbicadmin_refactor/t/admin/02ddl.t
Log:
change passing of preversion to be a parameter

Modified: DBIx-Class/0.08/branches/dbicadmin_refactor/t/admin/02ddl.t
===================================================================
--- DBIx-Class/0.08/branches/dbicadmin_refactor/t/admin/02ddl.t	2009-12-12 18:10:30 UTC (rev 8082)
+++ DBIx-Class/0.08/branches/dbicadmin_refactor/t/admin/02ddl.t	2009-12-12 18:36:22 UTC (rev 8083)
@@ -91,8 +91,7 @@
 	connect_info => $schema->storage->connect_info(),
 );
 
-$admin->preversion("1.0");
-lives_ok { $admin->create($schema->storage->sqlt_type(), ); } 'Can create diff for ' . $schema->storage->sqlt_type;
+lives_ok { $admin->create($schema->storage->sqlt_type(), {}, "1.0" ); } 'Can create diff for ' . $schema->storage->sqlt_type;
 # sleep required for upgrade table to hold a distinct time of upgrade value
 # otherwise the returned of get_db_version can be undeterministic
 sleep 1;




More information about the Bast-commits mailing list