Skip to content

Commit

Permalink
test: 새로운 테스트에 테스트 컨테이너 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
yoondgu committed Oct 17, 2023
1 parent 3592ff0 commit 5bfbcfc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

import com.mapbefine.mapbefine.TestDatabaseContainer;
import com.mapbefine.mapbefine.common.annotation.ServiceTest;
import com.mapbefine.mapbefine.history.domain.PinHistory;
import com.mapbefine.mapbefine.history.domain.PinHistoryRepository;
Expand All @@ -27,7 +28,7 @@
import org.springframework.context.ApplicationEventPublisher;

@ServiceTest
class PinHistoryCommandServiceTest {
class PinHistoryCommandServiceTest extends TestDatabaseContainer {

@Autowired
private PinHistoryRepository pinHistoryRepository;
Expand Down

0 comments on commit 5bfbcfc

Please sign in to comment.