mirror of
https://github.com/predis/predis.git
synced 2026-10-09 05:16:32 +00:00
Rename write and read methods of the composable connection interface.
This commit is contained in:
@@ -28,7 +28,7 @@ class StreamableMultiBulkResponseTest extends PredisTestCase
|
||||
$connection = $this->getMock('Predis\Connection\ComposableConnectionInterface');
|
||||
|
||||
$connection->expects($this->never())->method('readLine');
|
||||
$connection->expects($this->never())->method('readBytes');
|
||||
$connection->expects($this->never())->method('readBuffer');
|
||||
|
||||
$this->assertInstanceOf('Predis\Response\Iterator\MultiBulk', $handler->handle($connection, '1'));
|
||||
}
|
||||
@@ -45,7 +45,7 @@ class StreamableMultiBulkResponseTest extends PredisTestCase
|
||||
$connection = $this->getMock('Predis\Connection\ComposableConnectionInterface');
|
||||
|
||||
$connection->expects($this->never())->method('readLine');
|
||||
$connection->expects($this->never())->method('readBytes');
|
||||
$connection->expects($this->never())->method('readBuffer');
|
||||
|
||||
$handler->handle($connection, 'invalid');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user