Adding type parameter because behat cannot ignore it

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Sergio Bertolín 2016-08-30 09:28:27 +00:00 committed by Roeland Jago Douma
parent 7744cb5240
commit 01393592eb
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 3 additions and 2 deletions

View File

@ -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) {