use of io.restassured.filter.cookie.CookieFilter in project dhis2-core by dhis2.
the class ConfigurationExtension method defaultRequestSpecification.
private RequestSpecification defaultRequestSpecification() {
RequestSpecBuilder requestSpecification = new RequestSpecBuilder();
requestSpecification.addFilter(new CookieFilter());
requestSpecification.addFilter(new SessionFilter());
requestSpecification.addFilter(new AuthFilter());
requestSpecification.setContentType(ContentType.JSON);
return requestSpecification.build();
}
Aggregations