diff --git a/tests/acceptance/features/bootstrap/TagsContext.php b/tests/acceptance/features/bootstrap/TagsContext.php index 3b865c10c248..740aa887fe73 100644 --- a/tests/acceptance/features/bootstrap/TagsContext.php +++ b/tests/acceptance/features/bootstrap/TagsContext.php @@ -961,6 +961,20 @@ private function untag($untaggingUser, $tagName, $fileName, $fileOwner) { $this->featureContext->setResponse($response); } + /** + * @When user :user removes tag :tagName from file :fileName using the WebDAV API + * @Given user :user has removed tag :tagName from file :fileName + * + * @param string $user + * @param string $tagName + * @param string $fileName + * + * @return void + */ + public function removesTagFromFile($user, $tagName, $fileName) { + $this->untag($user, $tagName, $fileName, $user); + } + /** * @When user :user removes tag :tagName from file :fileName shared by :shareUser using the WebDAV API * @Given user :user has removed tag :tagName from file :fileName shared by :shareUser