From e12aa20fdcec362bc75e3180b8a95605e79f5562 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Mon, 8 Apr 2019 15:05:57 +0545 Subject: [PATCH] test step to delete tag of own file --- .../acceptance/features/bootstrap/TagsContext.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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