X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fcopy.t;h=6c079cc3a8bd323ebf4579e223f6eae7a7f61f3f;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=2550619e2a756c517d484c583acd9ead996015b1;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/copy.t b/t/cdbi/copy.t index 2550619..6c079cc 100644 --- a/t/cdbi/copy.t +++ b/t/cdbi/copy.t @@ -1,12 +1,7 @@ use strict; +use warnings; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan $@ ? (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@") - : (tests=> 4); -} - INIT { use lib 't/cdbi/testlib'; } @@ -39,3 +34,4 @@ isnt $new_film->id, $film->id, "copy() gets new primary key"; $new_film = $film->copy(42); is $new_film->id, 42, "copy() with new id"; +done_testing;