From a73b12550534311a162fa3a21fd08c4b3b59fcb5 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 2 Jun 2025 16:44:04 +0200 Subject: [PATCH] tests: expand drive permissions where needed --- tests/acceptance/bootstrap/SpacesContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/bootstrap/SpacesContext.php b/tests/acceptance/bootstrap/SpacesContext.php index c21ffd2f06..d395867e48 100644 --- a/tests/acceptance/bootstrap/SpacesContext.php +++ b/tests/acceptance/bootstrap/SpacesContext.php @@ -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",