X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fhas_many_loads_foreign_class.t;h=bba66e82e6e8d9ff916fc7c48633b573306217ff;hb=14e8cb27f784e6e54759623b7d0f3a8981610c7e;hp=51cec5d1dc061c484db4bd603945edca0eaeda38;hpb=db29433c74a98967f61f117bd508c06055db2892;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/has_many_loads_foreign_class.t b/t/cdbi/has_many_loads_foreign_class.t index 51cec5d..bba66e8 100644 --- a/t/cdbi/has_many_loads_foreign_class.t +++ b/t/cdbi/has_many_loads_foreign_class.t @@ -1,13 +1,8 @@ use strict; +use warnings; use Test::More; use Class::Inspector (); -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan skip_all => 'Class::Trigger and DBIx::ContextualFetch required' if $@; - plan tests => 3; -} - use lib 't/cdbi/testlib'; use Director; @@ -33,4 +28,6 @@ my $guillotine = Film->create({ Director => "Yu Wang", }); -is_deeply [sort $shan_hua->films], [sort $inframan, $guillotine2]; \ No newline at end of file +is_deeply [sort $shan_hua->films], [sort $inframan, $guillotine2]; + +done_testing;