From 8beb97764fe83623fc89e1fb2282b03dc1cdc7de Mon Sep 17 00:00:00 2001 From: Jacek Ablewicz Date: Wed, 25 May 2016 11:36:47 +0200 Subject: [PATCH] Bug 16166: Update number of tests to run in t/Cache.t Update number of tests to run + number of tests to skip in case when cache is not active. --- t/Cache.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Cache.t b/t/Cache.t index e7da563..034db92 100644 --- a/t/Cache.t +++ b/t/Cache.t @@ -17,7 +17,7 @@ use Modern::Perl; -use Test::More tests => 39; +use Test::More tests => 40; use Test::Warn; my $destructorcount = 0; @@ -34,7 +34,7 @@ SKIP: { $ENV{ MEMCACHED_NAMESPACE } = 'unit_tests'; my $cache = Koha::Cache->get_instance(); - skip "Cache not enabled", 35 + skip "Cache not enabled", 36 unless ( $cache->is_cache_active() && defined $cache ); # test fetching an item that isnt in the cache -- 1.7.10.4