Skip to content

Commit 35f891c

Browse files
committed
Removed obsolete test case that was using deprecated method
1 parent 90690fb commit 35f891c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/Unit/Security/SecurityUserTest.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,4 @@ public function testThatGetUuidReturnsExpected(): void
5959

6060
self::assertSame($user->getId(), new SecurityUser($user)->getUuid());
6161
}
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-
}
7562
}

0 commit comments

Comments
 (0)