]> git.mxchange.org Git - friendica.git/commitdiff
copy&paste error for memcached unittest
authorPhilipp Holzer <admin@philipp.info>
Sat, 7 Jul 2018 16:12:17 +0000 (18:12 +0200)
committerPhilipp Holzer <admin@philipp.info>
Sat, 7 Jul 2018 16:12:17 +0000 (18:12 +0200)
tests/src/Core/Lock/MemcachedCacheLockDriverTest.php

index 678c54c77adae6e9574d614def6212ed4bd2101c..e08358ce38a7fc867855607574d85e9b536bfc07 100644 (file)
@@ -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();