Search in sources :

Example 1 with ReportStudylogRequest

use of wooteco.prolog.report.application.dto.report.request.studylog.ReportStudylogRequest 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);
}
Also used : GraphRequest(wooteco.prolog.report.application.dto.report.request.abilitigraph.GraphRequest) ReportRequest(wooteco.prolog.report.application.dto.report.request.ReportRequest) ReportStudylogRequest(wooteco.prolog.report.application.dto.report.request.studylog.ReportStudylogRequest) AbilityRequest(wooteco.prolog.report.application.dto.report.request.abilitigraph.AbilityRequest) When(io.cucumber.java.en.When)

Aggregations

When (io.cucumber.java.en.When)1 ReportRequest (wooteco.prolog.report.application.dto.report.request.ReportRequest)1 AbilityRequest (wooteco.prolog.report.application.dto.report.request.abilitigraph.AbilityRequest)1 GraphRequest (wooteco.prolog.report.application.dto.report.request.abilitigraph.GraphRequest)1 ReportStudylogRequest (wooteco.prolog.report.application.dto.report.request.studylog.ReportStudylogRequest)1