-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
23 deletions.
There are no files selected for viewing
47 changes: 24 additions & 23 deletions
47
src/test/java/usw/suwiki/domain/lecture/service/InsertNewLectureTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"); | ||
// } | ||
//} | ||
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"); | ||
} | ||
} |