Test Cases for Office API. (Reformatted Code)
This commit is contained in:
+3
-2
@@ -23,6 +23,7 @@ import com.jayway.restassured.specification.RequestSpecification;
|
||||
import com.jayway.restassured.specification.ResponseSpecification;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class OfficeIntegrationsTest {
|
||||
|
||||
private ResponseSpecification statusOkResponseSpec;
|
||||
@@ -37,8 +38,7 @@ public class OfficeIntegrationsTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreateOffice()
|
||||
{
|
||||
public void testCreateOffice() {
|
||||
int random_array = {1997, 26, 12};
|
||||
OfficeHelper oh = OfficeHelper // oh ---> Office Helper
|
||||
.create(Utils.randomNameGenerator("", 5))
|
||||
@@ -52,6 +52,7 @@ public class OfficeIntegrationsTest {
|
||||
Assert.assertNotNull(officeID);
|
||||
|
||||
}
|
||||
|
||||
private Long createOffice(final String officeJSON,
|
||||
final RequestSpecification requestSpec,
|
||||
final ResponseSpecification responseSpec) {
|
||||
|
||||
Reference in New Issue
Block a user