aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio BertolĂ­n <sbertolin@solidgear.es>2016-08-30 09:28:27 +0000
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-06 13:57:58 +0200
commit01393592ebbae8f1be5eb1f8ad38670aae472342 (patch)
tree29e46c104951c9d1f2c8ed506cd2b27240e4ffe3 /build
parent7744cb5240c4aa9f974ae7198a1c0a31c92d19a9 (diff)
downloadnextcloud-server-01393592ebbae8f1be5eb1f8ad38670aae472342.tar.gz
nextcloud-server-01393592ebbae8f1be5eb1f8ad38670aae472342.zip
Adding type parameter because behat cannot ignore it
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/bootstrap/WebDav.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php
index 5eccfdf2f85..cdb1fc3fdfd 100644
--- a/build/integration/features/bootstrap/WebDav.php
+++ b/build/integration/features/bootstrap/WebDav.php
@@ -455,11 +455,12 @@ trait WebDav {
}
/**
- * @When User :user deletes (file|folder) :file
+ * @When /^User "([^"]*)" deletes (file|folder) "([^"]*)"$/
* @param string $user
+ * @param string $type
* @param string $file
*/
- public function userDeletesFile($user, $file) {
+ public function userDeletesFile($user, $type, $file) {
try {
$this->response = $this->makeDavRequest($user, 'DELETE', $file, []);
} catch (\GuzzleHttp\Exception\ServerException $e) {