mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
24 lines
704 B
Java
24 lines
704 B
Java
package org.alfresco.rest;
|
|
|
|
import org.alfresco.utility.data.DataWorkflow;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.testng.annotations.BeforeClass;
|
|
|
|
import com.jayway.restassured.RestAssured;
|
|
|
|
public abstract class RestWorkflowTest extends RestTest
|
|
{
|
|
@Autowired
|
|
protected DataWorkflow dataWorkflow;
|
|
|
|
@BeforeClass(alwaysRun = true)
|
|
public void checkServerHealth() throws Exception
|
|
{
|
|
serverHealth.assertServerIsOnline();
|
|
|
|
RestAssured.baseURI = restProperties.envProperty().getTestServerUrl();
|
|
RestAssured.port = restProperties.envProperty().getPort();
|
|
RestAssured.basePath = restProperties.getRestWorkflowPath();
|
|
}
|
|
}
|