From e253ad0a298b05d70c6a2c2b81ab72310b8ab529 Mon Sep 17 00:00:00 2001 From: nirajacharya2 <122071597+nirajacharya2@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:56:41 +0545 Subject: [PATCH] removing usage of a stepdefination inside another stepdefination in TagContext (#8758) --- tests/acceptance/features/bootstrap/TagContext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/features/bootstrap/TagContext.php b/tests/acceptance/features/bootstrap/TagContext.php index 3ae457cc3..c9deb7f29 100644 --- a/tests/acceptance/features/bootstrap/TagContext.php +++ b/tests/acceptance/features/bootstrap/TagContext.php @@ -133,9 +133,9 @@ class TagContext implements Context { $this->featureContext->verifyTableNodeColumns($table, ["path", "tagName"]); $rows = $table->getHash(); foreach ($rows as $row) { - $resource = $row['path']; $tags = explode(',', $row['tagName']); - $this->theUserHasCreatedFollowingTags($user, $filesOrFolders, $resource, $space, new TableNode([$tags])); + $response = $this->createTags($user, $filesOrFolders, $row['path'], $space, new TableNode([$tags])); + $this->featureContext->theHttpStatusCodeShouldBe(200, "", $response); } }