File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,6 @@ public function testConnectionWithPassword(): void
7777 {
7878 $ redisMock = $ this ->createMock (Redis::class);
7979 $ redisMock ->expects (self ::once ())->method ('isConnected ' )->willReturn (false );
80- $ redisMock ->expects (self ::once ())->method ('connect ' )->with (
81- '127.0.0.1 ' ,
82- 6379 ,
83- 0 ,
84- 0 ,
85- 0.0
86- );
8780 $ redisMock ->expects (self ::once ())
8881 ->method ('auth ' )
8982 ->with ('pass ' );
@@ -96,13 +89,6 @@ public function testConnectionWithUseranameAndPassword(): void
9689 {
9790 $ redisMock = $ this ->createMock (Redis::class);
9891 $ redisMock ->expects (self ::once ())->method ('isConnected ' )->willReturn (false );
99- $ redisMock ->expects (self ::once ())->method ('connect ' )->with (
100- '127.0.0.1 ' ,
101- 6379 ,
102- 0 ,
103- 0 ,
104- 0.0
105- );
10692 $ redisMock ->expects (self ::exactly (2 ))
10793 ->method ('rawCommand ' )
10894 ->withConsecutive (
You can’t perform that action at this time.
0 commit comments