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
77
77
{
78
78
$ redisMock = $ this ->createMock (Redis::class);
79
79
$ 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
- );
87
80
$ redisMock ->expects (self ::once ())
88
81
->method ('auth ' )
89
82
->with ('pass ' );
@@ -96,13 +89,6 @@ public function testConnectionWithUseranameAndPassword(): void
96
89
{
97
90
$ redisMock = $ this ->createMock (Redis::class);
98
91
$ 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
- );
106
92
$ redisMock ->expects (self ::exactly (2 ))
107
93
->method ('rawCommand ' )
108
94
->withConsecutive (
You can’t perform that action at this time.
0 commit comments