Skip to content

Commit

Permalink
Merge branch '5.4' into 6.0
Browse files Browse the repository at this point in the history
* 5.4:
  Add completion for debug:twig
  [SecurityBundle] Fix tests
  [RateLimiter] Increase delta in limiter tests
  [Console][AppVeyor] Fix EOL in the tests
  [PasswordHasher] Fix completion tests
  • Loading branch information
derrabus committed Nov 1, 2021
2 parents 5030279 + 60c4aba commit 6f11fb2
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 6f11fb2

Please sign in to comment.