use of org.hisp.dhis.jsontree.JsonResponse in project dhis2-core by dhis2.
the class RequestInfoControllerTest method testGetCurrentInfo_XRequestIdHeader.
@Test
void testGetCurrentInfo_XRequestIdHeader() {
JsonResponse info = GET("/request", Header("X-Request-ID", "abc")).content();
assertTrue(info.isObject());
assertEquals("abc", info.getString("headerXRequestID").string());
}
Aggregations