X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fset_to_undef.t;h=2316bf82585db87ada44403d5a1165fb6ac3aaa1;hb=386c61f65520dc5c1b6f3d4710e865eeff9f26a8;hp=83cf1a269613c28702883f28636ed1efb8bb665f;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/set_to_undef.t b/t/cdbi/set_to_undef.t index 83cf1a2..2316bf8 100644 --- a/t/cdbi/set_to_undef.t +++ b/t/cdbi/set_to_undef.t @@ -1,11 +1,11 @@ use strict; use Test::More; +use lib 't/cdbi/testlib'; BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@" + eval "use DBIx::Class::CDBICompat;use DateTime 0.55;"; + plan skip_all => "DateTime 0.55, Class::Trigger and DBIx::ContextualFetch required: $@" if $@; - plan skip_all => "DateTime required" unless eval { require DateTime }; plan tests => 2; } @@ -19,7 +19,7 @@ local $SIG{__WARN__} = sub { { package Thing; - use base 'DBIx::Class::Test::SQLite'; + use base 'DBIC::Test::SQLite'; Thing->columns(All => qw[thing_id this that date]); }