Addressed reviews

This commit is contained in:
Prarup Gurung
2024-03-15 14:18:33 +05:45
parent 18f156c880
commit c52c3e9db7
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ Feature: propfind a shares
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" sends PROPFIND request from the space "Shares" to the resource "/" with depth "1" using the WebDAV API
When user "Brian" sends PROPFIND request to space "Shares" using the WebDAV API
Then the HTTP status code should be "207"
And the "PROPFIND" response to user "Brian" should contain a space "Shares" with these key and value pairs:
| key | value |

View File

@@ -3620,8 +3620,8 @@ class SpacesContext implements Context {
*
* @param string $user
* @param string $spaceName
* @param ?string $resource
* @param ?string $folderDepth
* @param string $resource
* @param string $folderDepth
*
* @return void
*
@@ -3629,7 +3629,7 @@ class SpacesContext implements Context {
*
* @throws GuzzleException
*/
public function userSendsPropfindRequestFromTheSpaceToTheResourceWithDepthUsingTheWebdavApi(string $user, string $spaceName, ?string $resource = "", ?string $folderDepth = "1"): void {
public function userSendsPropfindRequestFromTheSpaceToTheResourceWithDepthUsingTheWebdavApi(string $user, string $spaceName, string $resource, string $folderDepth): void {
$this->featureContext->setResponse(
$this->sendPropfindRequestToSpace($user, $spaceName, $resource, null, $folderDepth)
);