Remove redundant skip checks in CDBICompat tests
[dbsrgits/DBIx-Class.git] / t / cdbi / object_cache.t
index a0fdd20..22841c4 100644 (file)
@@ -1,18 +1,11 @@
 use strict;
+use warnings;
 use Test::More;
 $| = 1;
 
 
-INIT {
-    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;
-
+use lib 't/cdbi/testlib';
+use Film;
 
 ok +Film->create({
     Title       => 'This Is Spinal Tap',