@@ -525,7 +525,7 @@ public function testLogClientInNoTokenPasswordWith2fa(): void {
525525 $ this ->throttler
526526 ->expects ($ this ->once ())
527527 ->method ('registerUniqueAttempt ' )
528- ->with ('login ' , '192.168.0.1 ' , ' johndoe ' , ['user ' => 'john ' ]);
528+ ->with ('login ' , '192.168.0.1 ' , [ ' john ' , ' doe ' ] , ['user ' => 'john ' ]);
529529 $ this ->dispatcher
530530 ->expects ($ this ->exactly (2 ))
531531 ->method ('dispatchTyped ' )
@@ -655,7 +655,7 @@ public function testLogClientInNoTokenPasswordNo2fa(): void {
655655 $ this ->throttler
656656 ->expects ($ this ->once ())
657657 ->method ('registerUniqueAttempt ' )
658- ->with ('login ' , '192.168.0.1 ' , ' johndoe ' , ['user ' => 'john ' ]);
658+ ->with ('login ' , '192.168.0.1 ' , [ ' john ' , ' doe ' ] , ['user ' => 'john ' ]);
659659
660660 $ this ->dispatcher
661661 ->expects ($ this ->exactly (2 ))
@@ -1564,7 +1564,7 @@ public function testLogClientInThrottlerUsername(): void {
15641564 $ this ->throttler
15651565 ->expects ($ this ->once ())
15661566 ->method ('registerUniqueAttempt ' )
1567- ->with ('login ' , '192.168.0.1 ' , ' johnI -AM-A-PASSWORD ' , ['user ' => 'john ' ]);
1567+ ->with ('login ' , '192.168.0.1 ' , [ ' john ' , ' I -AM-A-PASSWORD '] , ['user ' => 'john ' ]);
15681568 $ this ->dispatcher
15691569 ->expects ($ this ->exactly (2 ))
15701570 ->method ('dispatchTyped ' )
@@ -1627,7 +1627,7 @@ public function testLogClientInThrottlerEmail(): void {
16271627 $ this ->throttler
16281628 ->expects ($ this ->once ())
16291629 ->method ('registerUniqueAttempt ' )
1630- ->with ('login ' , '192.168.0.1 ' , 'john@foo.barI -AM-A-PASSWORD ' , ['user ' => 'john@foo.bar ' ]);
1630+ ->with ('login ' , '192.168.0.1 ' , [ 'john@foo.bar ' , ' I -AM-A-PASSWORD '] , ['user ' => 'john@foo.bar ' ]);
16311631 $ this ->dispatcher
16321632 ->expects ($ this ->exactly (2 ))
16331633 ->method ('dispatchTyped ' )
0 commit comments