We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90690fb commit 35f891cCopy full SHA for 35f891c
tests/Unit/Security/SecurityUserTest.php
@@ -59,17 +59,4 @@ public function testThatGetUuidReturnsExpected(): void
59
60
self::assertSame($user->getId(), new SecurityUser($user)->getUuid());
61
}
62
-
63
- #[TestDox('Test that password is present after `SecurityUser::eraseCredentials` method call')]
64
- public function testThatPasswordIsPresentAfterEraseCredential(): void
65
- {
66
- $encoder = fn (string $password): string => str_rot13($password);
67
68
- $securityUser = new SecurityUser(new User()->setPassword($encoder, 'foobar'));
69
70
- /** @phpstan-ignore-next-line */
71
- $securityUser->eraseCredentials();
72
73
- self::assertSame('sbbone', $securityUser->getPassword());
74
- }
75
0 commit comments