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); } }