diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-06 22:58:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-06 22:58:56 +0200 |
commit | c4b26395859939ab07b875ab6ccff6598c12f2b2 (patch) | |
tree | 2bb7df8037c87ae758c1ddd0d567050bd64ebfdf /build/integration/features/bootstrap/WebDav.php | |
parent | a0b34dfd2f5e6ed1ea5e35692816acf73f3ede4e (diff) | |
parent | 626daabb56c91755bccb327f090e6bdcd94789ad (diff) | |
download | nextcloud-server-c4b26395859939ab07b875ab6ccff6598c12f2b2.tar.gz nextcloud-server-c4b26395859939ab07b875ab6ccff6598c12f2b2.zip |
Merge pull request #1514 from nextcloud/integration-tests-orphaned-shares
Integration tests orphaned shares + Prefilter inaccessible shares
Diffstat (limited to 'build/integration/features/bootstrap/WebDav.php')
-rw-r--r-- | build/integration/features/bootstrap/WebDav.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/WebDav.php b/build/integration/features/bootstrap/WebDav.php index ad29f28e105..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 :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) { |