Demitsuru

Results 1 comments of Demitsuru

same here: ``` config = RestAssuredConfig.config() .objectMapperConfig(objectMapperConfig() .jackson2ObjectMapperFactory((aClass, s) -> objectMapper)).encoderConfig(EncoderConfig.encoderConfig().appendDefaultContentCharsetToContentTypeIfUndefined(false)); ``` and test: ``` given() .contentType(ContentType.URLENC) .cookies(cookies.getCookies()) .pathParam("storeId", registeredStore.getId()) .formParam("departments", allDepartments) .log().all().when().post(ApiEndpoints.postNewDepartments.getCall()) .then().log().all().and().assertThat().statusCode(201); ```