From 01393592ebbae8f1be5eb1f8ad38670aae472342 Mon Sep 17 00:00:00 2001 From: Sergio BertolĂ­n Date: Tue, 30 Aug 2016 09:28:27 +0000 Subject: Adding type parameter because behat cannot ignore it Signed-off-by: Lukas Reschke --- build/integration/features/bootstrap/WebDav.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build') 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) { -- cgit v1.2.3