public class ManagerTest {
@Before
public void start(){
Application fakeApp = fakeApplication();
}
@Test
public void onboard() {
ObjectNode properJson = Json.newObject();
properJson.put("material_number","xxxxx");
properJson.put("serial_number","xxxxxxxxx");
properJson.put("idtype","TID");
Result result = route(fakeRequest("POST", "/v1/onbaord").bodyJson(properJson));
assertEquals(OK, result.status());
}
@After
public void stopApp() throws Exception {
Helpers.stop(application);
}
}
Invalid SQL type: sqlKind = UNINITIALIZED [ERROR:17439, SQLSTATE:99999]