fixes on tests [WIP]

This commit is contained in:
2021-12-08 09:26:13 +01:00
parent 56dd825f39
commit e297d82533
8 changed files with 11 additions and 10 deletions

View File

@@ -545,7 +545,7 @@ class ExportManager
if (null === $centers) {
$centers = $this->authorizationHelper->getReachableCenters(
$this->user,
$role
$role->getName()
);
}
@@ -585,7 +585,7 @@ class ExportManager
'center' => $center,
'circles' => $this->authorizationHelper->getReachableScopes(
$this->user,
$element->requiredRole(),
$element->requiredRole()->getName(),
$center
),
];