diff --git a/src/main/java/org/hisp/dhis/actions/RestApiActions.java b/src/main/java/org/hisp/dhis/actions/RestApiActions.java index 03672ee..4639632 100644 --- a/src/main/java/org/hisp/dhis/actions/RestApiActions.java +++ b/src/main/java/org/hisp/dhis/actions/RestApiActions.java @@ -74,9 +74,7 @@ protected RequestSpecification given() { return RestAssured.given() .baseUri( this.baseUri ) - .basePath( endpoint ) - .config( RestAssured.config() - .objectMapperConfig( new ObjectMapperConfig( ObjectMapperType.GSON ) ) ); + .basePath( endpoint ); } /**