X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F98-failure.t;h=1a42e030ed3d141b0ffccb1d2c9a55d455f4607c;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=0f584b1191eba46dfd4af6fba64ac9e734cf0c5b;hpb=6a3bf2519832866d037740c5fb22341dad6f8bb3;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/98-failure.t b/t/cdbi/98-failure.t index 0f584b1..1a42e03 100644 --- a/t/cdbi/98-failure.t +++ b/t/cdbi/98-failure.t @@ -1,20 +1,11 @@ use strict; +use warnings; use Test::More; #---------------------------------------------------------------------- # Test database failures #---------------------------------------------------------------------- -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - if ($@) { - plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); - next; - } - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 7); -} - use lib 't/cdbi/testlib'; use Film; @@ -60,3 +51,4 @@ if (0) { } } +done_testing;