Adding type parameter because behat cannot ignore it
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
7744cb5240
commit
01393592eb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue