From e15ddec7c71ffb6ebb7bc051a4c287f12c34f9d0 Mon Sep 17 00:00:00 2001 From: Claudia Agache Date: Wed, 14 Apr 2021 17:21:44 +0300 Subject: [PATCH] Remove createRMSiteIfNotExists(); from test because rm site is created in before class. --- .../alfresco/rest/rm/community/search/ShareLiveSearchTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java index 32139b8460..11ac02e5d0 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/search/ShareLiveSearchTests.java @@ -51,7 +51,6 @@ public class ShareLiveSearchTests extends BaseRMRestTest @AlfrescoTest(jira = "RM-5882") public void liveSearchForVitalWord() { - createRMSiteIfNotExists(); List results = searchApi.liveSearchForDocumentsAsUser(getAdminUser().getUsername(), getAdminUser().getPassword(), "vital"); assertTrue(results.isEmpty() || results.stream().noneMatch("Vital Records due for Review"::equalsIgnoreCase), "Share Live Search should return 0 results when searching for RM Saved Search filter words, but it returned:"