Fix tests.

This commit is contained in:
Raza Mehdi
2020-08-15 01:14:13 +05:00
parent 882d59001f
commit 5edf443141
189 changed files with 1272 additions and 2034 deletions
@@ -25,7 +25,7 @@ class RequestSerializerTest extends PredisTestCase
{
$serializer = new RequestSerializer();
$command = $this->getMock('Predis\Command\CommandInterface');
$command = $this->getMockBuilder('Predis\Command\CommandInterface')->getMock();
$command->expects($this->once())
->method('getId')
@@ -47,7 +47,7 @@ class RequestSerializerTest extends PredisTestCase
{
$serializer = new RequestSerializer();
$command = $this->getMock('Predis\Command\CommandInterface');
$command = $this->getMockBuilder('Predis\Command\CommandInterface')->getMock();
$command->expects($this->once())
->method('getId')
@@ -69,7 +69,7 @@ class RequestSerializerTest extends PredisTestCase
{
$serializer = new RequestSerializer();
$command = $this->getMock('Predis\Command\CommandInterface');
$command = $this->getMockBuilder('Predis\Command\CommandInterface')->getMock();
$command->expects($this->once())
->method('getId')