X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F12-filter.t;h=9a715ed546ee146694871804125012c887884f85;hb=7e5a0e7c25474567b7f0b0daadba3f9b07297073;hp=cecc64cdd6294674d83d0f0ce4db68bd69df84e6;hpb=f9cc85ce4c60c87d559247e28fe9a5f2ec18992c;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/12-filter.t b/t/cdbi/12-filter.t index cecc64c..9a715ed 100644 --- a/t/cdbi/12-filter.t +++ b/t/cdbi/12-filter.t @@ -1,15 +1,7 @@ use strict; +use warnings; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - if ($@) { - plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); - next; - } - plan tests => 50; -} - use lib 't/cdbi/testlib'; use Actor; use Film; @@ -172,3 +164,5 @@ delete $film->{related_resultsets}; eval { $film->actors->delete_all }; is $@, '', "Deleting again does no harm"; } + +done_testing;