X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F22-deflate_order.t;h=a54eaf70db99a82bca84accaf0b49361b2e38bf2;hb=d8cf3aa31fb3d6ff7813f021fcc002663725fc41;hp=d4e9935280718922eb4ec786270c983374ffc287;hpb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/22-deflate_order.t b/t/cdbi/22-deflate_order.t index d4e9935..a54eaf7 100644 --- a/t/cdbi/22-deflate_order.t +++ b/t/cdbi/22-deflate_order.t @@ -1,3 +1,6 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } +use DBIx::Class::Optional::Dependencies -skip_all_without => qw( cdbicompat test_rdbms_mysql Time::Piece::MySQL>=0 ); + $| = 1; use warnings; use strict; @@ -5,10 +8,6 @@ use strict; use Test::More; use lib 't/cdbi/testlib'; -use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs - -eval { require Time::Piece::MySQL } - or plan skip_all => 'Time::Piece::MySQL required for this test'; use_ok ('Log');