removing usage of a stepdefination inside another stepdefination in TagContext (#8758)

This commit is contained in:
nirajacharya2
2024-04-11 09:56:41 +05:45
committed by GitHub
parent cb8109dc8f
commit e253ad0a29
@@ -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);
}
}