use of wooteco.prolog.report.application.dto.report.request.abilitigraph.GraphRequest in project prolog by woowacourse.
the class ReportStepDefinitions method 대표리포트를등록.
@When("대표 리포트를 등록하(면)(고)")
public void 대표리포트를등록() {
ReportRequest reportRequest = new ReportRequest(null, "새로운 리포트" + reportCnt++, "리포트 설명", new GraphRequest(Arrays.asList(new AbilityRequest(1L, 1L, true))), Arrays.asList(new ReportStudylogRequest(1L, Arrays.asList(1L))), true);
context.invokeHttpPostWithToken("/reports", reportRequest);
}
Aggregations