Skip to content

Commit

Permalink
style: 개행 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
skylar1220 committed Aug 11, 2024
1 parent 113de8a commit 9b78bfb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions backend/src/main/java/reviewme/review/domain/Review2.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public class Review2 {
@Column(name = "created_at", nullable = false)
private LocalDateTime createdAt;

public Review2(long templateId, long reviewGroupId, List<TextAnswer> textAnswers,
List<CheckboxAnswer> checkboxAnswers,
public Review2(long templateId, long reviewGroupId,
List<TextAnswer> textAnswers, List<CheckboxAnswer> checkboxAnswers,
LocalDateTime createdAt) {
this.templateId = templateId;
this.reviewGroupId = reviewGroupId;
Expand Down
4 changes: 2 additions & 2 deletions backend/src/main/java/reviewme/template/domain/Section.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class Section {
@Column(name = "position", nullable = false)
private int position;

public Section(VisibleType visibleType, List<Long> questionIds, Long onSelectedOptionId, String header,
int position) {
public Section(VisibleType visibleType, List<Long> questionIds,
Long onSelectedOptionId, String header, int position) {
this.visibleType = visibleType;
this.questionIds = questionIds;
this.onSelectedOptionId = onSelectedOptionId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,13 @@ class ReviewServiceTest {

// when
ReceivedReviewsResponse response = reviewService.findReceivedReviews(groupAccessCode);

// then
List<String> categoryContents = optionItemRepository.findAllByOptionType(OptionType.CATEGORY)
.stream()
.map(OptionItem::getContent)
.toList();

// then
assertThat(response.reviews())
.map(review -> review.categories()
.stream()
Expand Down

0 comments on commit 9b78bfb

Please sign in to comment.