mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 07:44:59 +00:00
fix tests (wip)
This commit is contained in:
@@ -545,7 +545,7 @@ class ExportManager
|
||||
if (null === $centers) {
|
||||
$centers = $this->authorizationHelper->getReachableCenters(
|
||||
$this->user,
|
||||
$role->getName()
|
||||
$role->getRole(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -585,7 +585,7 @@ class ExportManager
|
||||
'center' => $center,
|
||||
'circles' => $this->authorizationHelper->getReachableScopes(
|
||||
$this->user,
|
||||
$element->requiredRole()->getName(),
|
||||
$element->requiredRole()->getRole(),
|
||||
$center
|
||||
),
|
||||
];
|
||||
|
Reference in New Issue
Block a user