mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-19 12:04:09 -04:00
@@ -96,7 +96,7 @@ class SpacesTUSContext implements Context {
|
||||
}
|
||||
|
||||
/**
|
||||
* @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
|
||||
@@ -105,7 +105,7 @@ class SpacesTUSContext implements Context {
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function publicUploadsAFileViaTusInsideOfTheSpaceUsingTheWebdavApi(
|
||||
public function thePublicUploadsFileViaTusInsideLastSharedFolderWithPasswordUsingTheWebdavApi(
|
||||
string $source,
|
||||
string $destination,
|
||||
string $password
|
||||
|
||||
@@ -352,10 +352,10 @@ class TUSContext implements Context {
|
||||
* @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();
|
||||
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user