8000 [PasswordHasher] Fix completion tests · symfony/symfony@fde1b0c · GitHub
[go: up one dir, main page]

Skip to content

Commit fde1b0c

Browse files
committed
[PasswordHasher] Fix completion tests
Signed-off- 8000 by: Alexander M. Turek <me@derrabus.de>
1 parent 5898027 commit fde1b0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/PasswordHasher/Tests/Command/UserPasswordHashCommandTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -302,15 +302,15 @@ public function testCompletionSuggestions(array $input, array $expectedSuggestio
302302
$this->assertSame($expectedSuggestions, $tester->complete($input));
303303
}
304304

305-
public function provideCompletionSuggestions()
305+
public function provideCompletionSuggestions(): iterable
306306
{
307307
yield 'user_class_empty' => [
308-
[''],
308+
['p@ssw0rd', ''],
309309
['App\Entity\User'],
310310
];
311311

312312
yield 'user_class_given' => [
313-
['App'],
313+
['p@ssw0rd', 'App'],
314314
['App\Entity\User'],
315315
];
316316
}

0 commit comments

Comments
 (0)
0