From 6ecaa5b15a99aa24a771e257d86dd94621b36466 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 7 Jul 2018 18:12:17 +0200 Subject: [PATCH] copy&paste error for memcached unittest --- tests/src/Core/Lock/MemcachedCacheLockDriverTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php b/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php index 678c54c77..e08358ce3 100644 --- a/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php +++ b/tests/src/Core/Lock/MemcachedCacheLockDriverTest.php @@ -20,19 +20,19 @@ class MemcachedCacheLockDriverTest extends LockTest try { $this->cache = CacheDriverFactory::create('memcached'); } catch (\Exception $exception) { - print "Redis - TestCase failed: " . $exception->getMessage(); + print "Memcached - TestCase failed: " . $exception->getMessage(); throw new \Exception(); } return new CacheLockDriver($this->cache); } else { - $this->markTestSkipped('Redis driver isn\'t available'); + $this->markTestSkipped('Memcached driver isn\'t available'); return null; } } public function tearDown() { - if (class_exists('Redis')) { + if (class_exists('Memcached')) { $this->cache->clear(); } parent::tearDown();