[tests] Fix tests from previous commit.

They did work, but I am not exactly sure why. Also added a missing
test for Predis\Connection\CompositeStreamConnection.
This commit is contained in:
Daniele Alessandri
2016-05-17 20:06:30 +02:00
parent 26d7147646
commit d55826f35c
4 changed files with 29 additions and 3 deletions
@@ -29,7 +29,6 @@ class StreamConnectionTest extends PredisConnectionTestCase
public function testThrowsExceptionOnInitializationCommandFailure()
{
$cmdSelect = RawCommand::create('SELECT', '1000');
$responseError =
$connection = $this->getMockBuilder(static::CONNECTION_CLASS)
->setMethods(array('executeCommand', 'createResource'))