]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/Cache/MemcacheCacheDriverTest.php
Merge pull request #6678 from rabuzarus/20190217_-_fix_magicLinks_mentions
[friendica.git] / tests / src / Core / Cache / MemcacheCacheDriverTest.php
index 7832344a89522071a47da49efada0689d9e8256c..f9df9eaba089b996ab62ed108908801451f9f486 100644 (file)
@@ -12,14 +12,14 @@ class MemcacheCacheDriverTest extends MemoryCacheTest
 {
        protected function getInstance()
        {
-               $this->configCache
+               $this->configMock
                        ->shouldReceive('get')
-                       ->with('system', 'memcache_host', NULL)
+                       ->with('system', 'memcache_host')
                        ->andReturn('localhost');
 
-               $this->configCache
+               $this->configMock
                        ->shouldReceive('get')
-                       ->with('system', 'memcache_port', NULL)
+                       ->with('system', 'memcache_port')
                        ->andReturn(11211);
 
                $this->cache = CacheDriverFactory::create('memcache');