Skip to content

Commit 3b6552f

Browse files
committed
test(community): 불필요한 import 및 변수 삭제
1 parent 5af09e9 commit 3b6552f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/test/java/com/somemore/community/repository/CommunityCommentRepositoryTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.somemore.IntegrationTestSupport;
44
import com.somemore.community.domain.CommunityBoard;
55
import com.somemore.community.domain.CommunityComment;
6-
import com.somemore.community.dto.request.CommunityBoardCreateRequestDto;
76
import com.somemore.community.repository.board.CommunityBoardRepository;
87
import com.somemore.community.repository.comment.CommunityCommentRepository;
98
import org.junit.jupiter.api.BeforeEach;

src/test/java/com/somemore/community/service/comment/CreateCommunityCommentServiceTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ void createCommunityCommentWithDto() {
6464
.parentCommentId(null)
6565
.build();
6666

67-
UUID writerId = UUID.randomUUID();
68-
6967
//when
7068
Long commentId = createCommunityCommentService.createCommunityComment(dto, writerId);
7169

@@ -90,7 +88,6 @@ void createCommunityCommentRelyWithDto() {
9088
.parentCommentId(null)
9189
.build();
9290

93-
UUID writerId = UUID.randomUUID();
9491
Long commentId = createCommunityCommentService.createCommunityComment(commentDto, writerId);
9592

9693
CommunityCommentCreateRequestDto replyDto = CommunityCommentCreateRequestDto.builder()

0 commit comments

Comments
 (0)