mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
Remove usage of deprecated Role class
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user