X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fobject_cache.t;h=d9034c2ec3687771bb7bd45253cea7ffc8c9ac1e;hb=94f9fbefc7e247e2319b2472787e974fcf8cbb97;hp=896f8eb3a8a23d1f84b5bcd8ac768df6078521ea;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/cdbi/object_cache.t b/t/cdbi/object_cache.t index 896f8eb..d9034c2 100644 --- a/t/cdbi/object_cache.t +++ b/t/cdbi/object_cache.t @@ -7,9 +7,6 @@ BEGIN { if ($@) { plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); } - - eval "use DBD::SQLite"; - plan skip_all => 'needs DBD::SQLite for testing' if $@; } INIT { @@ -41,14 +38,14 @@ ok +Film->create({ { Film->nocache(1); - + my $film1 = Film->retrieve( "This Is Spinal Tap" ); my $film2 = Film->retrieve( "This Is Spinal Tap" ); $film1->Director("Marty DiBergi"); is $film2->Director, "Rob Reiner", 'caching turned off'; - + $film1->discard_changes; }