Skip to content

Commit

Permalink
fix: Template 사용하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
donghoony committed Jan 5, 2025
1 parent fd009a7 commit d6e8a1c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class ReviewSummaryServiceTest {
@Test
void 리뷰_그룹에_등록된_리뷰_요약_정보를_반환한다() {
// given
Question question = questionRepository.save(서술형_필수_질문());
Section section = sectionRepository.save(항상_보이는_섹션(List.of(question.getId())));
Template template = templateRepository.save(템플릿(List.of(section.getId())));
Question question = 서술형_필수_질문();
Section section = 항상_보이는_섹션(List.of(question));
Template template = templateRepository.save(new Template(List.of(section)));

ReviewGroup reviewGroup1 = reviewGroupRepository.save(리뷰_그룹());
ReviewGroup reviewGroup2 = reviewGroupRepository.save(리뷰_그룹("reReCo", "groupCo"));
Expand Down

0 comments on commit d6e8a1c

Please sign in to comment.