Skip to content

Commit 87ac708

Browse files
committed
test: update env for storageusers service
1 parent 15cc11e commit 87ac708

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

tests/acceptance/TestHelpers/GraphHelper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ public static function editUser(
312312
$accountEnabled,
313313
);
314314
$url = self::getFullUrl($baseUrl, 'users/' . $userId);
315-
var_dump($url, $payload);
316315
return HttpRequestHelper::sendRequest(
317316
$url,
318317
$method,
@@ -983,8 +982,6 @@ public static function getMySpaces(
983982
$urlArguments = $urlArguments ? "?$urlArguments" : "";
984983
$url = self::getFullUrl($baseUrl, "me/drives" . $urlArguments);
985984

986-
var_dump("urllllll", $url);
987-
988985
return HttpRequestHelper::get($url, $user, $password, $headers, $body);
989986
}
990987

tests/acceptance/bootstrap/SpacesContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,8 +1847,6 @@ public function theUserHasCreatedASpaceByDefaultUsingTheGraphApi(
18471847
string $spaceName,
18481848
): void {
18491849
$space = ["name" => $spaceName];
1850-
$spaces = $this->listAllMySpaces($user);
1851-
var_dump($spaces->getBody()->getContents());
18521850
$response = $this->createSpace($user, $space);
18531851
$this->featureContext->theHTTPStatusCodeShouldBe(
18541852
201,

tests/acceptance/features/apiSpaces/quota.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ Feature: State of the quota
122122

123123
@env-config
124124
Scenario: upload a file by setting OCIS spaces max quota
125-
Given the config "OCIS_SPACES_MAX_QUOTA" has been set to "10" for "storageusers" service
125+
Given the config "STORAGE_USERS_OCIS_MAX_QUOTA" has been set to "10" for "storageusers" service
126126
And user "Brian" has been created with default attributes
127127
When user "Brian" uploads file with content "more than 10 bytes content" to "lorem.txt" using the WebDAV API
128128
Then the HTTP status code should be "507"
129129

130130
@env-config
131131
Scenario: try to create a space with quota greater than OCIS spaces max quota
132-
Given the config "OCIS_SPACES_MAX_QUOTA" has been set to "50" for "storageusers" service
132+
Given the config "STORAGE_USERS_OCIS_MAX_QUOTA" has been set to "50" for "storageusers" service
133133
And user "Brian" has been created with default attributes
134134
And the administrator has assigned the role "Space Admin" to user "Brian" using the Graph API
135135
When user "Brian" tries to create a space "new space" of type "project" with quota "51" using the Graph API

0 commit comments

Comments
 (0)