Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fde1b0c

Browse files
committed
[PasswordHasher] Fix completion tests
Signed-off-by: Alexander M. Turek <[email protected]>
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

Lines changed: 3 additions & 3 deletions
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)