X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-t%2F24-meta_info.t;h=2545111df2848bc11e9db5e07b95b5b069d7252e;hb=40f051753c914357649e074ba0c7621d2f87308a;hp=6236a172ca082086ed9a54abf2ff0aa81572232a;hpb=1097f5e4f0e0a5fc2c30851cb9a0141712a85fcf;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi-t/24-meta_info.t b/t/cdbi-t/24-meta_info.t index 6236a17..2545111 100644 --- a/t/cdbi-t/24-meta_info.t +++ b/t/cdbi-t/24-meta_info.t @@ -1,7 +1,19 @@ #!/usr/bin/perl -w use strict; -use Test::More tests => 12; +use Test::More; + +BEGIN { + eval "use DBIx::Class::CDBICompat;"; + plan skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@" + if $@; + + plan skip_all => "Time::Piece required for this test" + unless eval { require Time::Piece }; + + plan tests => 12; +} + use Test::Warn; package Temp::DBI;