mirror of
https://github.com/predis/predis.git
synced 2026-10-10 22:07:31 +00:00
fix: Bug with single persistent connection to the same resource (#1512)
* fix: Bug with single persistent connection to the same resource * Fixed tests * Additional test fix * Codestyle fixes
This commit is contained in:
committed by
GitHub
parent
974379bd05
commit
09e88b6fd0
@@ -94,7 +94,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -125,7 +125,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -190,7 +190,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -215,7 +215,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -241,7 +241,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -265,7 +265,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -480,7 +480,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
@@ -503,7 +503,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
$this->mockStreamFactory
|
||||
->expects($this->once())
|
||||
->method('createStream')
|
||||
->with(new Parameters())
|
||||
->withAnyParameters()
|
||||
->willReturn($this->mockStream);
|
||||
|
||||
$this->mockStream
|
||||
|
||||
Reference in New Issue
Block a user