mirror of
https://github.com/predis/predis.git
synced 2026-08-31 12:43:31 +00:00
[tests] Adapt to internal encoding changes for lists in Redis 3.0.
This commit is contained in:
@@ -85,7 +85,7 @@ class ServerObjectTest extends PredisCommandTestCase
|
||||
$redis = $this->getClient();
|
||||
|
||||
$redis->lpush('list:metavars', 'foo', 'bar');
|
||||
$this->assertSame('ziplist', $redis->object('ENCODING', 'list:metavars'));
|
||||
$this->assertRegExp('/[zip|quick]list/', $redis->object('ENCODING', 'list:metavars'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user