X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fcopy.t;h=6c079cc3a8bd323ebf4579e223f6eae7a7f61f3f;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=25eb2554078ff9fbb972fdd2ede6c004274c158c;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/copy.t b/t/cdbi/copy.t index 25eb255..6c079cc 100644 --- a/t/cdbi/copy.t +++ b/t/cdbi/copy.t @@ -1,21 +1,16 @@ 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'; } { - package # hide from PAUSE + package # hide from PAUSE MyFilm; - use base 'DBIx::Class::Test::SQLite'; + use base 'DBIC::Test::SQLite'; use strict; __PACKAGE__->set_table('Movies'); @@ -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;