Remove usage of deprecated Role class

This commit is contained in:
2023-08-31 17:08:18 +02:00
parent 76142c1264
commit 7c58880139
33 changed files with 55 additions and 80 deletions

View File

@@ -133,7 +133,7 @@ final class PickPersonTypeTest extends KernelTestCase
$this->markTestSkipped('need to inject locale into url generator without request');
$form = $this->formFactory
->createBuilder(PickPersonType::class, null, [
'role' => new \Symfony\Component\Security\Core\Role\Role('INVALID'),
'role' => 'INVALID',
])
->getForm();