From 60c4aba11e2ce4140a5a9cbc13733da4b8333e2d Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 30 Oct 2021 17:55:55 +0200 Subject: [PATCH] [PasswordHasher] Fix completion tests Signed-off-by: Alexander M. Turek --- Tests/Command/UserPasswordHashCommandTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Command/UserPasswordHashCommandTest.php b/Tests/Command/UserPasswordHashCommandTest.php index 29fdae5..e619220 100644 --- a/Tests/Command/UserPasswordHashCommandTest.php +++ b/Tests/Command/UserPasswordHashCommandTest.php @@ -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'], ]; }