X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fset_to_undef.t;h=149be2c5a50dd4d13b6b41947c88e666958b5ba9;hb=aa072cab54f2e6af9a9db82b3cdec0ebb97717cc;hp=03fe0ca4e3fb24e29904944fb0f5652a35ccda60;hpb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/set_to_undef.t b/t/cdbi/set_to_undef.t index 03fe0ca..149be2c 100644 --- a/t/cdbi/set_to_undef.t +++ b/t/cdbi/set_to_undef.t @@ -1,15 +1,11 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } +use DBIx::Class::Optional::Dependencies -skip_all_without => qw( ic_dt cdbicompat ); + use strict; use warnings; -use Test::More; +use Test::More; use lib 't/cdbi/testlib'; -use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs - -BEGIN { - eval { require DateTime; DateTime->VERSION(0.55) } - or plan skip_all => 'DateTime 0.55 required for this test'; -} - # Don't use Test::NoWarnings because of an unrelated DBD::SQLite warning. my @warnings;