Skip to content

Commit

Permalink
test: 테스트코드의 필요없는 의존성 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
5win committed Nov 18, 2024
1 parent d28118e commit 01bfe0f
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.gamsa.activity.service;

import static org.assertj.core.api.Assertions.assertThat;

import com.gamsa.activity.constant.ActivityErrorCode;
import com.gamsa.activity.dto.ActivityDetailResponse;
import com.gamsa.activity.dto.ActivityFindSliceResponse;
Expand All @@ -9,7 +11,6 @@
import com.gamsa.history.stub.StubHistoryRepository;
import com.gamsa.review.service.QuestionService;
import com.gamsa.review.service.ReviewService;
import com.gamsa.review.stub.StubAnswerRepository;
import com.gamsa.review.stub.StubQuestionRepository;
import com.gamsa.review.stub.StubReviewRepository;
import com.gamsa.user.stub.StubExistsUserRepository;
Expand All @@ -18,8 +19,6 @@
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Slice;

import static org.assertj.core.api.Assertions.assertThat;

class ActivityServiceTest {


Expand All @@ -35,7 +34,6 @@ class ActivityServiceTest {
new StubExistsUserRepository(),
new StubQuestionRepository(),
new StubReviewRepository(),
new StubAnswerRepository(),
new StubHistoryRepository()
)
);
Expand All @@ -60,7 +58,6 @@ class ActivityServiceTest {
new StubExistsUserRepository(),
new StubQuestionRepository(),
new StubReviewRepository(),
new StubAnswerRepository(),
new StubHistoryRepository()
)
);
Expand All @@ -84,7 +81,6 @@ class ActivityServiceTest {
new StubExistsUserRepository(),
new StubQuestionRepository(),
new StubReviewRepository(),
new StubAnswerRepository(),
new StubHistoryRepository()
)
);
Expand Down

0 comments on commit 01bfe0f

Please sign in to comment.