X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F22-deflate_order.t;h=d4e9935280718922eb4ec786270c983374ffc287;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=cdb8c0d6b1e01c9a37653049585ca422965c5755;hpb=49b3a2641b8687764378abc01554bb8804a4bc26;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/22-deflate_order.t b/t/cdbi/22-deflate_order.t index cdb8c0d..d4e9935 100644 --- a/t/cdbi/22-deflate_order.t +++ b/t/cdbi/22-deflate_order.t @@ -1,14 +1,15 @@ $| = 1; +use warnings; use strict; use Test::More; -eval "use DBIx::Class::CDBICompat; use Time::Piece::MySQL;"; -if ($@) { - plan (skip_all => "Time::Piece::MySQL, Class::Trigger and DBIx::ContextualFetch required: $@"); -} - 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'); package main;