X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F02-Film.t;h=fe4a6917b08c6238475f59d2019ae51b55f07a48;hb=9cc3585d8b82799078cb292d97a90a0d952089d9;hp=5ef43bb7633c87cc884438c0fb6a42e639bd2f7c;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/cdbi/02-Film.t b/t/cdbi/02-Film.t index 5ef43bb..fe4a691 100644 --- a/t/cdbi/02-Film.t +++ b/t/cdbi/02-Film.t @@ -1,17 +1,11 @@ use strict; +use warnings; + use Test::More; use Scalar::Util 'refaddr'; use namespace::clean; $| = 1; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - if ($@) { - plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); - } - plan tests => 98; -} - INIT { use lib 't/cdbi/testlib'; use Film; @@ -412,3 +406,5 @@ SKIP: { "Creating and retrieving gives ref to same object"; } + +done_testing;