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=a3188507cafce85c0e59c0ab70f5963455a15566;hp=cdb8c0d6b1e01c9a37653049585ca422965c5755;hb=d9bd51956470404b3960871d3413fa98f16961d2;hpb=aea59b74d807ee65b319f3c1f84709157e12926b diff --git a/t/cdbi/22-deflate_order.t b/t/cdbi/22-deflate_order.t index cdb8c0d..a318850 100644 --- a/t/cdbi/22-deflate_order.t +++ b/t/cdbi/22-deflate_order.t @@ -3,12 +3,12 @@ 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;