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