X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Fcdbi%2F68-inflate_has_a.t;h=7842f0a6ce424c5b0c798d590593e24700f2ab1a;hp=0019e293d049708c5ab7f24246ebd5a086ce7b6d;hb=68de943862f06cabd397d2e74d12cd9cdc999779;hpb=67b79ae10d09c925c0e120e9de21758f388c8e70 diff --git a/t/cdbi/68-inflate_has_a.t b/t/cdbi/68-inflate_has_a.t index 0019e29..7842f0a 100644 --- a/t/cdbi/68-inflate_has_a.t +++ b/t/cdbi/68-inflate_has_a.t @@ -3,15 +3,9 @@ use warnings; use Test::More; BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan skip_all => "Class::Trigger and DBIx::ContextualFetch required" + eval "use DBIx::Class::CDBICompat; use DateTime 0.55; use Clone;"; + plan skip_all => "Clone, DateTime 0.55, Class::Trigger and DBIx::ContextualFetch required" if $@; - - eval { require DateTime }; - plan skip_all => "Need DateTime for inflation tests" if $@; - - eval { require Clone }; - plan skip_all => "Need Clone for CDBICompat inflation tests" if $@; } plan tests => 6;