summaryrefslogtreecommitdiffstats
path: root/build/integration/features
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-28 20:46:33 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-05-29 15:21:27 +0200
commit8349172c64006aedbc87058aed6b159196a00c9b (patch)
treebba09cc95cc6b123acc84894c9c754869775f86a /build/integration/features
parentd6f193750212c2181bce32afe2220c0434cdacf1 (diff)
downloadnextcloud-server-8349172c64006aedbc87058aed6b159196a00c9b.tar.gz
nextcloud-server-8349172c64006aedbc87058aed6b159196a00c9b.zip
Remove unused variables
The step names were adjusted accordingly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'build/integration/features')
-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 66b15436438..f13abd6efad 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -150,11 +150,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;
}
@@ -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;
}