Skip to content

Commit

Permalink
[PasswordHasher] Fix completion tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander M. Turek <[email protected]>
  • Loading branch information
derrabus committed Oct 30, 2021
1 parent 487d9a5 commit 60c4aba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Command/UserPasswordHashCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,15 +302,15 @@ public function testCompletionSuggestions(array $input, array $expectedSuggestio
$this->assertSame($expectedSuggestions, $tester->complete($input));
}

public function provideCompletionSuggestions()
public function provideCompletionSuggestions(): iterable
{
yield 'user_class_empty' => [
[''],
['p@ssw0rd', ''],
['App\Entity\User'],
];

yield 'user_class_given' => [
['App'],
['p@ssw0rd', 'App'],
['App\Entity\User'],
];
}
Expand Down

0 comments on commit 60c4aba

Please sign in to comment.