Skip to content

Commit

Permalink
refactor: 강의 적재 로직 Disabled 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
wonslee committed Feb 8, 2024
1 parent a6d30a6 commit c7b3cf7
Showing 1 changed file with 24 additions and 23 deletions.
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");
}
}

0 comments on commit c7b3cf7

Please sign in to comment.