From: Arthur Axel 'fREW' Schmidt Date: Tue, 23 Feb 2010 02:11:16 +0000 (-0600) Subject: updates for newest DBIC X-Git-Tag: v0.001000_01~154 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4388afff42fb8a6df6e407e68962dcaf3fca086e;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git updates for newest DBIC --- diff --git a/t/94versioning.t b/t/94versioning.t index 58c25d3..685809b 100644 --- a/t/94versioning.t +++ b/t/94versioning.t @@ -22,10 +22,10 @@ BEGIN { || plan skip_all => 'Test needs Time::HiRes'; Time::HiRes->import(qw/time sleep/); - require DBIx::Class::Storage::DBI; + require DBIx::Class; plan skip_all => - 'Test needs SQL::Translator ' . DBIx::Class::Storage::DBI->_sqlt_minimum_version - if not DBIx::Class::Storage::DBI->_sqlt_version_ok; + 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for ('deploy') + unless DBIx::Class::Optional::Dependencies->req_ok_for ('deploy') } use lib qw(t/lib);