From: Arthur Axel 'fREW' Schmidt Date: Tue, 23 Feb 2010 05:15:46 +0000 (-0600) Subject: test for vanilla upgrade X-Git-Tag: v0.001000_01~145 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8636376a862a6e3cdc4a2b4368ef90924e2d7609;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git test for vanilla upgrade --- diff --git a/lib/DBIx/Class/DeploymentHandler.pm b/lib/DBIx/Class/DeploymentHandler.pm index 4d9fc13..d4d2db5 100644 --- a/lib/DBIx/Class/DeploymentHandler.pm +++ b/lib/DBIx/Class/DeploymentHandler.pm @@ -90,7 +90,7 @@ method install($new_version) { method create_upgrade_path { } -method ordered_schema_versions { } +method ordered_schema_versions { undef } method upgrade { my $db_version = $self->db_version; diff --git a/t/02-instantiation.t b/t/02-instantiation.t index b4da432..9765eff 100644 --- a/t/02-instantiation.t +++ b/t/02-instantiation.t @@ -100,7 +100,7 @@ VERSION3: { biff => 'frew', }) } 'schema not deployed'; - $handler->upgrade_single_step('2.0', '3.0'); + $handler->upgrade; lives_ok { $s->resultset('Foo')->create({ bar => 'frew',