mirror of
https://github.com/predis/predis.git
synced 2026-10-15 00:07:17 +00:00
Do not implicitly set multibulk replies on composable connections.
This should be done externally on the underlying protocol instance.
This commit is contained in:
@@ -74,7 +74,8 @@ class ComposableStreamConnectionTest extends ConnectionTestCase
|
||||
*/
|
||||
public function testReadsMultibulkRepliesAsIterators()
|
||||
{
|
||||
$connection = $this->getConnection($profile, true, array('iterable_multibulk' => true));
|
||||
$connection = $this->getConnection($profile, true);
|
||||
$connection->getProtocol()->setOption('iterable_multibulk', true);
|
||||
|
||||
$connection->executeCommand($profile->createCommand('rpush', array('metavars', 'foo', 'hoge', 'lol')));
|
||||
$connection->writeCommand($profile->createCommand('lrange', array('metavars', 0, -1)));
|
||||
|
||||
Reference in New Issue
Block a user