mirror of
https://github.com/shlinkio/shlink.git
synced 2025-01-22 14:33:16 -06:00
Fixed memcached test while comparing servers
This commit is contained in:
parent
39d2f5a38f
commit
43c6b56e42
@ -97,7 +97,7 @@ class CacheFactoryTest extends TestCase
|
||||
/** @var MemcachedCache $instance */
|
||||
$instance = $this->factory->__invoke($this->createSM(MemcachedCache::class, ['servers' => $servers]), '');
|
||||
$this->assertInstanceOf(MemcachedCache::class, $instance);
|
||||
$this->assertEquals($servers, $instance->getMemcached()->getServerList());
|
||||
$this->assertEquals(count($servers), count($instance->getMemcached()->getServerList()));
|
||||
}
|
||||
|
||||
private function createSM($cacheAdapter = null, array $options = [])
|
||||
|
Loading…
Reference in New Issue
Block a user