X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F14-might_have.t;h=73318acdb865a3c9ba1accaed7b18ddde995c383;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=156a0898ba14f936dc35c9ac8c06cd73c13ef19b;hpb=68de943862f06cabd397d2e74d12cd9cdc999779;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/14-might_have.t b/t/cdbi/14-might_have.t index 156a089..73318ac 100644 --- a/t/cdbi/14-might_have.t +++ b/t/cdbi/14-might_have.t @@ -1,14 +1,7 @@ use strict; +use warnings; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - if ($@) { - plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); - } - plan tests => 22; -} - use lib 't/cdbi/testlib'; use Film; use Blurb; @@ -62,7 +55,7 @@ Film->create_test_film; $blurb = Blurb->retrieve('Bad Taste'); is $blurb, undef, "Blurb has gone"; } - + } { @@ -78,4 +71,6 @@ Film->create_test_film; ok $host->info->delete; $host->discard_changes; ok !$host->info, 'relationships rechecked after discard_changes'; -} \ No newline at end of file +} + +done_testing;