mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-14 11:14:21 -04:00
tests: expand drive permissions where needed
This commit is contained in:
@@ -1046,7 +1046,7 @@ class SpacesContext implements Context {
|
||||
string $grantedUser,
|
||||
string $role
|
||||
): void {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$response = $this->listAllAvailableSpacesOfUser($user, '$expand=root($expand=permissions)');
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
200,
|
||||
"Expected response status code should be 200",
|
||||
@@ -4618,7 +4618,7 @@ class SpacesContext implements Context {
|
||||
string $role,
|
||||
?string $expirationDate = null
|
||||
): void {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$response = $this->listAllAvailableSpacesOfUser($user, '$expand=root($expand=permissions)');
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
200,
|
||||
"Expected response status code should be 200",
|
||||
|
||||
Reference in New Issue
Block a user