fix tests (wip)

This commit is contained in:
2021-12-08 10:51:30 +01:00
parent 60a8c20896
commit 32178e22fe
8 changed files with 15 additions and 11 deletions

View File

@@ -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
),
];