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