Skip to content

Commit

Permalink
review address
Browse files Browse the repository at this point in the history
Signed-off-by: nabim777 <[email protected]>
  • Loading branch information
nabim777 committed Dec 18, 2024
1 parent 40228e9 commit 8d46b46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/bootstrap/SpacesTUSContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function userUploadsAFileViaTusInsideOfTheSpaceUsingTheWebdavApi(
}

/**
* @When the public uploads a file from :source to :destination via TUS inside last link shared folder with password :password using the WebDAV API
* @When the public uploads file :source to :destination via TUS inside last link shared folder with password :password using the WebDAV API
*
* @param string $source
* @param string $destination
Expand All @@ -100,7 +100,7 @@ public function userUploadsAFileViaTusInsideOfTheSpaceUsingTheWebdavApi(
* @return void
* @throws Exception
*/
public function publicUploadsAFileViaTusInsideOfTheSpaceUsingTheWebdavApi(
public function thePublicUploadsFileViaTusInsideLastSharedFolderWithPasswordUsingTheWebdavApi(
string $source,
string $destination,
string $password
Expand Down
6 changes: 3 additions & 3 deletions tests/acceptance/bootstrap/TUSContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ public function uploadFileUsingTus(
* @return void
*/
public function publicUploadFileUsingTus(
string $source,
string $destination,
string $source,
string $destination,
string $password,
):void {
): void {
$password = $this->featureContext->getActualPassword($password);
if ($this->featureContext->isUsingSharingNG()) {
$token = $this->featureContext->shareNgGetLastCreatedLinkShareToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ Feature: upload resources on share using TUS protocol
| space | Personal |
| permissionsRole | createOnly |
| password | %public% |
When the public uploads a file from "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside last link shared folder with password "%public%" using the WebDAV API
When the public uploads file "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside last link shared folder with password "%public%" using the WebDAV API
And for user "Alice" folder "uploadFolder" of the space "Personal" should contain these files:
| textfile.txt |
And for user "Alice" folder "uploadFolder" of the space "Personal" should not contain these files:
Expand All @@ -429,7 +429,7 @@ Feature: upload resources on share using TUS protocol
| space | Project |
| permissionsRole | createOnly |
| password | %public% |
When the public uploads a file from "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside last link shared folder with password "%public%" using the WebDAV API
When the public uploads file "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside last link shared folder with password "%public%" using the WebDAV API
And for user "Alice" folder "uploadFolder" of the space "Project" should contain these files:
| textfile.txt |
And for user "Alice" folder "uploadFolder" of the space "Project" should not contain these files:
Expand All @@ -444,7 +444,7 @@ Feature: upload resources on share using TUS protocol
| space | Project |
| permissionsRole | createOnly |
| password | %public% |
When the public uploads a file from "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside last link shared folder with password "%public%" using the WebDAV API
When the public uploads file "filesForUpload/zerobyte.txt" to "textfile.txt" via TUS inside last link shared folder with password "%public%" using the WebDAV API
Then for user "Alice" the space "Project" should contain these files:
| textfile.txt |
And for user "Alice" the space "Project" should not contain these files:
Expand Down

0 comments on commit 8d46b46

Please sign in to comment.