summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/Sharing.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/Sharing.php')
-rw-r--r--build/integration/features/bootstrap/Sharing.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php
index 22c9fef9f7f..0958ab5b64b 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -151,11 +151,9 @@ trait Sharing {
}
/**
- * @Then /^Public shared file "([^"]*)" can be downloaded$/
+ * @Then /^last link share can be downloaded$/
*/
- public function checkPublicSharedFile($filename) {
- $client = new Client();
- $options = [];
+ public function lastLinkShareCanBeDownloaded() {
if (count($this->lastShareData->data->element) > 0) {
$url = $this->lastShareData->data[0]->url;
} else {
@@ -166,10 +164,9 @@ trait Sharing {
}
/**
- * @Then /^Public shared file "([^"]*)" with password "([^"]*)" can be downloaded$/
+ * @Then /^last link share with password "([^"]*)" can be downloaded$/
*/
- public function checkPublicSharedFileWithPassword($filename, $password) {
- $options = [];
+ public function lastLinkShareWithPasswordCanBeDownloaded($password) {
if (count($this->lastShareData->data->element) > 0) {
$token = $this->lastShareData->data[0]->token;
} else {