Skip to content

Commit

Permalink
fix : isVisible 타입 수정에 따른 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
rladmstn committed Nov 5, 2024
1 parent 6204add commit 2965398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private GetStudyGroupResponse getStudyGroupResponseDTO(User user, StudyGroup gro
GroupMember member = groupMemberRepository.findByUserAndStudyGroup(user, group)
.orElseThrow(() -> new GroupMemberValidationException(HttpStatus.FORBIDDEN.value(), "참여하지 않은 스터디 그룹입니다."));
return GetStudyGroupResponse.toDTO(group, user, isBookmarked(user, group), getStudyGroupOwner(group),
member.isVisible());
member.getIsVisible());
}

private User getStudyGroupOwner(StudyGroup group) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ void editGroupVisibility() {
// when
studyGroupService.editStudyGroupVisibility(user, request);
// then
assertThat(groupMember1.isVisible()).isFalse();
assertThat(groupMember1.getIsVisible()).isFalse();
}

@Test
Expand Down

0 comments on commit 2965398

Please sign in to comment.