ACS-4779 Remove duplicate @BeforeClass method.

This commit is contained in:
Tom Page
2023-03-23 13:51:47 +00:00
parent fd96c90c08
commit 06c6efc6c9

View File

@@ -14,7 +14,6 @@ import org.alfresco.utility.model.TestGroup;
import org.alfresco.utility.testrail.ExecutionType; import org.alfresco.utility.testrail.ExecutionType;
import org.alfresco.utility.testrail.annotation.TestRail; import org.alfresco.utility.testrail.annotation.TestRail;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test; import org.testng.annotations.Test;
@Test(groups = {TestGroup.REQUIRE_SOLR}) @Test(groups = {TestGroup.REQUIRE_SOLR})
@@ -25,12 +24,6 @@ public class GetTagsTests extends TagsDataPrep
private static final String FIELD_TAG = "tag"; private static final String FIELD_TAG = "tag";
private static final String FIELD_COUNT = "count"; private static final String FIELD_COUNT = "count";
@BeforeClass (alwaysRun = true)
public void dataPreparation() throws Exception
{
init();
}
@TestRail(section = { TestGroup.REST_API, TestGroup.TAGS }, executionType = ExecutionType.SANITY, description = "Verify user with Manager role gets tags using REST API and status code is OK (200)") @TestRail(section = { TestGroup.REST_API, TestGroup.TAGS }, executionType = ExecutionType.SANITY, description = "Verify user with Manager role gets tags using REST API and status code is OK (200)")
@Test(groups = { TestGroup.REST_API, TestGroup.TAGS, TestGroup.SANITY }) @Test(groups = { TestGroup.REST_API, TestGroup.TAGS, TestGroup.SANITY })
public void getTagsWithManagerRole() public void getTagsWithManagerRole()