Skip to content

Commit c110187

Browse files
committed
Useless test removed
1 parent dc73694 commit c110187

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Symfony/Component/Security/Http/Tests/EventListener/PasswordPolicyListenerTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,5 @@ public function verify(string $plaintextPassword): void
6060
}],
6161
'The password does not fulfill the password policy.',
6262
];
63-
64-
yield [
65-
new Passport(
66-
new UserBadge('test', fn () => new InMemoryUser('test', 'qwerty')),
67-
new PasswordCredentials('too short pwd')
68-
),
69-
[new class() implements PolicyInterface {
70-
public function verify(string $plaintextPassword): void
71-
{
72-
if (mb_strlen($plaintextPassword) < 15) {
73-
throw new PolicyException();
74-
}
75-
}
76-
}],
77-
'The password does not fulfill the password policy.',
78-
];
7963
}
8064
}

0 commit comments

Comments
 (0)