find('app:sync-permissions')); $tester->execute([]); $tester->assertCommandIsSuccessful(); $repo = self::getContainer()->get(PermissionRepositoryInterface::class); self::assertNotNull($repo->findByCode('core.users.manage')); self::assertContains('core.roles.manage', $repo->findAllCodes()); } }