Fixing tests
This commit is contained in:
@@ -13,14 +13,14 @@ class MemcacheCacheLockDriverTest extends LockTest
|
||||
{
|
||||
protected function getInstance()
|
||||
{
|
||||
$this->configCache
|
||||
$this->configMock
|
||||
->shouldReceive('get')
|
||||
->with('system', 'memcache_host', NULL, false)
|
||||
->with('system', 'memcache_host')
|
||||
->andReturn('localhost');
|
||||
|
||||
$this->configCache
|
||||
$this->configMock
|
||||
->shouldReceive('get')
|
||||
->with('system', 'memcache_port', NULL, false)
|
||||
->with('system', 'memcache_port')
|
||||
->andReturn(11211);
|
||||
|
||||
return new CacheLockDriver(CacheDriverFactory::create('memcache'));
|
||||
|
||||
Reference in New Issue
Block a user