Skip to content

Commit

Permalink
fix : import 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokho-1116 committed Jun 17, 2024
1 parent 91acb7c commit af72aa1
Showing 1 changed file with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.CapsuleOpenStatus;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.CombinedGroupCapsuleSummaryDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupCapsuleDetailDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupCapsuleMemberDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupCapsuleMemberSummaryDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupCapsuleOpenStateDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupCapsuleSliceRequestDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.data.dto.GroupMemberCapsuleOpenStatusDto;
import site.timecapsulearchive.core.domain.capsule.group_capsule.repository.GroupCapsuleOpenQueryRepository;
import site.timecapsulearchive.core.domain.capsule.group_capsule.repository.GroupCapsuleQueryRepository;
import site.timecapsulearchive.core.domain.member.entity.Member;
Expand Down Expand Up @@ -500,7 +500,8 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
memberId, capsuleId);;
memberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto).isNotNull();
Expand All @@ -520,7 +521,8 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
groupMemberId, capsuleId);;
groupMemberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto.hasEditPermission()).isFalse();
Expand All @@ -540,7 +542,8 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
groupMemberId, capsuleId);;
groupMemberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto.hasDeletePermission()).isFalse();
Expand All @@ -559,13 +562,14 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
memberId, capsuleId);;
memberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto.hasEditPermission()).isTrue();
}

@Test
@Test
void 그룹_캡슐을_만든_사람이_그룹_캡슐을_요약_조회_시_삭제_권한이_있다() {
//given
Long groupId = 1L;
Expand All @@ -578,7 +582,8 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
memberId, capsuleId);;
memberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto.hasDeletePermission()).isTrue();
Expand All @@ -597,7 +602,8 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
memberId, capsuleId);;
memberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto.isRequestMemberCapsuleOpen()).isTrue();
Expand All @@ -616,7 +622,8 @@ class GroupCapsuleServiceTest {

//when
CombinedGroupCapsuleSummaryDto groupCapsuleSummaryDto = groupCapsuleService.findGroupCapsuleSummary(
memberId, capsuleId);;
memberId, capsuleId);
;

//then
assertThat(groupCapsuleSummaryDto.isRequestMemberCapsuleOpen()).isFalse();
Expand Down

0 comments on commit af72aa1

Please sign in to comment.