X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fconstruct.t;h=1e15a34e5e89a23908e71480c366ae75832c6f9a;hb=d9bd5195;hp=1ee7f14385ee8e11b7c5a629d1f5d9e18dc60208;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/construct.t b/t/cdbi/construct.t index 1ee7f14..1e15a34 100644 --- a/t/cdbi/construct.t +++ b/t/cdbi/construct.t @@ -1,12 +1,6 @@ use strict; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan $@ ? (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@") - : (tests=> 5); -} - INIT { use lib 't/cdbi/testlib'; use Film; @@ -38,6 +32,8 @@ INIT { my $film = Foo->construct({ temp_thing => 23 }); - + ::is $film->temp_thing, 23, "construct sets temp columns"; } + +done_testing;