X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Fcdbi%2F22-deflate_order.t;h=1de3f871a1d7909fc3a64b85cda4819fe2d6fc5e;hp=3d53245aade524fdc90626b03b338ce22dce5635;hb=68de943862f06cabd397d2e74d12cd9cdc999779;hpb=67b79ae10d09c925c0e120e9de21758f388c8e70 diff --git a/t/cdbi/22-deflate_order.t b/t/cdbi/22-deflate_order.t index 3d53245..1de3f87 100644 --- a/t/cdbi/22-deflate_order.t +++ b/t/cdbi/22-deflate_order.t @@ -3,18 +3,14 @@ use strict; use Test::More; -eval "use DBIx::Class::CDBICompat;"; +eval "use DBIx::Class::CDBICompat; use Time::Piece::MySQL;"; if ($@) { - plan (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@"); - next; + plan (skip_all => "Time::Piece::MySQL, Class::Trigger and DBIx::ContextualFetch required: $@"); } plan skip_all => 'Set $ENV{DBICTEST_MYSQL_DSN}, _USER and _PASS to run this test' unless ($ENV{DBICTEST_MYSQL_DSN} && $ENV{DBICTEST_MYSQL_USER}); -eval { require Time::Piece::MySQL }; -plan skip_all => "Need Time::Piece::MySQL for this test" if $@; - plan tests => 3; use lib 't/cdbi/testlib';