From: Peter Rabbitson Date: Tue, 10 Feb 2015 13:24:27 +0000 (+0100) Subject: Remove redundant skip checks in CDBICompat tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4519d82537b03f96e03cff168c356dbc2402b670;p=dbsrgits%2FDBIx-Class.git Remove redundant skip checks in CDBICompat tests f56e59cd added the extra module, but nothing in the tests actually loads it under Film (there likely was a switch during dev, but it was never committed). Just rip it out entirely. --- diff --git a/t/cdbi/02-Film.t b/t/cdbi/02-Film.t index 7f0d498..111a4f0 100644 --- a/t/cdbi/02-Film.t +++ b/t/cdbi/02-Film.t @@ -369,9 +369,7 @@ if (0) { ok !$film, "It destroys itself"; } -SKIP: { - skip "Caching has been removed", 5 - if Film->isa("DBIx::Class::CDBICompat::NoObjectIndex"); +{ # my bad taste is your bad taste my $btaste = Film->retrieve('Bad Taste'); diff --git a/t/cdbi/object_cache.t b/t/cdbi/object_cache.t index f79d26e..22841c4 100644 --- a/t/cdbi/object_cache.t +++ b/t/cdbi/object_cache.t @@ -7,12 +7,6 @@ $| = 1; use lib 't/cdbi/testlib'; use Film; -plan skip_all => "Object cache is turned off" - if Film->isa("DBIx::Class::CDBICompat::NoObjectIndex"); - -plan tests => 5; - - ok +Film->create({ Title => 'This Is Spinal Tap', Director => 'Rob Reiner',