use of wooteco.prolog.report.application.dto.ReportUpdateRequest in project prolog by woowacourse.
the class ReportStepDefinitions method 리포트를수정하면.
@When("리포트를 수정하면")
public void 리포트를수정하면() {
ReportResponse report = (ReportResponse) context.storage.get("report");
ReportUpdateRequest reportUpdateRequest = new ReportUpdateRequest("변경된 리포트", "변경된 리포트 설명1");
context.storage.put("reportRequest", reportUpdateRequest);
context.invokeHttpPutWithToken("/reports/" + report.getId(), reportUpdateRequest);
}
Aggregations