From: Gordon Irving Date: Sat, 12 Dec 2009 18:36:22 +0000 (+0000) Subject: change passing of preversion to be a parameter X-Git-Tag: v0.08119~9^2~44 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4858d9acc10d0d4ce6f6f41faf6f6c38ef64a8ed;p=dbsrgits%2FDBIx-Class.git change passing of preversion to be a parameter --- diff --git a/t/admin/02ddl.t b/t/admin/02ddl.t index de1f067..8ad1399 100644 --- a/t/admin/02ddl.t +++ b/t/admin/02ddl.t @@ -91,8 +91,7 @@ $admin = DBIx::Class::Admin->new( 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;