X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fversion_storages%2Fstandard.t;h=5a36e1af1cc96a3682b9cba0c45c7657b95839e6;hb=be140a5f1f8ab40705bf4cbedb74761c4994a765;hp=d3d3ff7f4ce0565089c5e3097cfc671eb8e07587;hpb=02a7b8ac7ff6775fa47f26d22a825d024637a1a6;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/t/version_storages/standard.t b/t/version_storages/standard.t index d3d3ff7..5a36e1a 100644 --- a/t/version_storages/standard.t +++ b/t/version_storages/standard.t @@ -34,18 +34,18 @@ my $dm = Translator->new({ my $vs = Standard->new({ schema => $s }); -$dm->prepare_resultsource_install( - $vs->version_rs->result_source -); +$dm->prepare_resultsource_install({ + result_source => $vs->version_rs->result_source +}); ok( $vs, 'DBIC::DH::VersionStorage::Standard instantiates correctly' ); ok( !$vs->version_storage_is_installed, 'VersionStorage is not yet installed' ); -$dm->install_resultsource( - $vs->version_rs->result_source, - '1.0', -); +$dm->install_resultsource({ + result_source => $vs->version_rs->result_source, + version => '1.0', +}); ok( $vs->version_storage_is_installed, 'VersionStorage is now installed' );