mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
Remove usage of deprecated Role class
This commit is contained in:
@@ -354,14 +354,14 @@ final class ActivityControllerTest extends WebTestCase
|
||||
->get('chill.main.security.authorization.helper')
|
||||
->getReachableScopes(
|
||||
$user,
|
||||
new Role('CHILL_ACTIVITY_UPDATE'),
|
||||
'CHILL_ACTIVITY_UPDATE',
|
||||
$center
|
||||
);
|
||||
$reachableScopesDelete = self::$kernel->getContainer()
|
||||
->get('chill.main.security.authorization.helper')
|
||||
->getReachableScopes(
|
||||
$user,
|
||||
new Role('CHILL_ACTIVITY_DELETE'),
|
||||
'CHILL_ACTIVITY_DELETE',
|
||||
$center
|
||||
);
|
||||
$reachableScopesId = array_intersect(
|
||||
|
Reference in New Issue
Block a user