From ea96dd0f35cc42fa06d089cf73530b63296450c0 Mon Sep 17 00:00:00 2001 From: Paul Brodner Date: Thu, 29 Sep 2016 17:18:01 +0300 Subject: [PATCH] update sanity and abstract restTest --- e2e-test/java/org/alfresco/rest/RestTest.java | 4 ---- e2e-test/resources/sanity-rest.xml | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/e2e-test/java/org/alfresco/rest/RestTest.java b/e2e-test/java/org/alfresco/rest/RestTest.java index 69cc678cc..28598c139 100644 --- a/e2e-test/java/org/alfresco/rest/RestTest.java +++ b/e2e-test/java/org/alfresco/rest/RestTest.java @@ -8,16 +8,12 @@ import org.alfresco.utility.data.DataSite; import org.alfresco.utility.data.DataUser; import org.alfresco.utility.network.ServerHealth; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Component; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; import org.testng.annotations.BeforeClass; import com.jayway.restassured.RestAssured; -@Component -@Scope(value = "prototype") @ContextConfiguration("classpath:alfresco-restapi-context.xml") public abstract class RestTest extends AbstractTestNGSpringContextTests { diff --git a/e2e-test/resources/sanity-rest.xml b/e2e-test/resources/sanity-rest.xml index 36b07a328..80bd6abc1 100644 --- a/e2e-test/resources/sanity-rest.xml +++ b/e2e-test/resources/sanity-rest.xml @@ -10,8 +10,7 @@ - - +