diff --git a/src/test/java/usw/suwiki/domain/lecture/service/InsertNewLectureTest.java b/src/test/java/usw/suwiki/domain/lecture/service/InsertNewLectureTest.java index bf470358..68fa34e9 100644 --- a/src/test/java/usw/suwiki/domain/lecture/service/InsertNewLectureTest.java +++ b/src/test/java/usw/suwiki/domain/lecture/service/InsertNewLectureTest.java @@ -1,23 +1,24 @@ -//package usw.suwiki.lectureutill; -// -//import org.junit.jupiter.api.Test; -//import org.springframework.beans.factory.annotation.Autowired; -//import org.springframework.boot.test.context.SpringBootTest; -//import usw.suwiki.domain.lecture.domain.repository.LectureRepository; -//import usw.suwiki.domain.lecture.service.LectureService; -// -//// WARN: 통합 테스트에 포함되어선 안 됩니다. -//@SpringBootTest -//class InsertNewLectureTest { -// -// @Autowired -// LectureService lectureService; -// -// @Autowired -// LectureRepository lectureRepository; -// -// @Test -// void insertNewLecture() { -// lectureService.bulkSaveJsonLectures("src/main/resources/USW_2023_2.json"); -// } -//} \ No newline at end of file +package usw.suwiki.domain.lecture.service; + +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; +import usw.suwiki.domain.lecture.domain.repository.LectureRepository; + + +@SpringBootTest +@Disabled // WARN: 통합 테스트에 포함되어선 안 됩니다. +class InsertNewLectureTest { + + @Autowired + LectureService lectureService; + + @Autowired + LectureRepository lectureRepository; + + @Test + void insertNewLecture() { + lectureService.bulkApplyLectureJsonFile("src/main/resources/USW_2024_1.json"); + } +} \ No newline at end of file