update sanity and abstract restTest

This commit is contained in:
Paul Brodner
2016-09-29 17:18:01 +03:00
parent e977463b48
commit ea96dd0f35
2 changed files with 1 additions and 6 deletions

View File

@@ -8,16 +8,12 @@ import org.alfresco.utility.data.DataSite;
import org.alfresco.utility.data.DataUser; import org.alfresco.utility.data.DataUser;
import org.alfresco.utility.network.ServerHealth; import org.alfresco.utility.network.ServerHealth;
import org.springframework.beans.factory.annotation.Autowired; 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.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeClass;
import com.jayway.restassured.RestAssured; import com.jayway.restassured.RestAssured;
@Component
@Scope(value = "prototype")
@ContextConfiguration("classpath:alfresco-restapi-context.xml") @ContextConfiguration("classpath:alfresco-restapi-context.xml")
public abstract class RestTest extends AbstractTestNGSpringContextTests public abstract class RestTest extends AbstractTestNGSpringContextTests
{ {

View File

@@ -10,8 +10,7 @@
<groups> <groups>
<run> <run>
<include name="sanity" /> <include name="sanity" />
<exclude name="demo"></exclude> <exclude name="demo"></exclude>
<exclude name=""></exclude>
</run> </run>
</groups> </groups>
<packages> <packages>