X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F14-might_have.t;h=d79a74620fde2758fedfd570dd19f5b728332d6e;hb=5e2a9177e84b8328dcb32ba4d2b4c310ee8610cb;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..d79a746 100644 --- a/t/cdbi/14-might_have.t +++ b/t/cdbi/14-might_have.t @@ -1,14 +1,6 @@ use strict; 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 +54,7 @@ Film->create_test_film; $blurb = Blurb->retrieve('Bad Taste'); is $blurb, undef, "Blurb has gone"; } - + } { @@ -78,4 +70,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;