Private
Public Access
chg: test: all tests passed and migrated to Symfony 8 #14
This commit is contained in:
@@ -48,6 +48,7 @@ class PurgeExpiredPendingUsersCommandTest extends WebTestCase
|
||||
$tester->execute([]);
|
||||
|
||||
$em = static::getContainer()->get(EntityManagerInterface::class);
|
||||
$em->clear();
|
||||
self::assertNull($em->find(User::class, $expiredUser->id));
|
||||
self::assertNotNull($em->find(User::class, $pendingUser->id));
|
||||
self::assertNotNull($em->find(User::class, $verifiedUser->id));
|
||||
|
||||
Reference in New Issue
Block a user