Skip to content

Commit eb3fa80

Browse files
author
alessandro
committed
remove useless assertion
1 parent 4bdc6a7 commit eb3fa80

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/Unit/RedisClientTest.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)