Skip to content

Commit 86804ef

Browse files
committed
Merge branch 'develop'
2 parents 9d8880c + d480e40 commit 86804ef

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

backend/src/main/java/com/WEB4_5_GPT_BE/unihub/global/init/InitDevData.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,15 @@ public void init() {
114114

115115
// 11) 2학년 학생 1명 더 생성
116116
helper.createStudent(
117-
"thirdstudent@auni.ac.kr", "studentPw3", "정하늘", "20250003",
117+
"thirdstudent@auni.ac.kr", "studentPw", "홍길동", "20250003",
118118
university.getId(), majorSW.getId(), 2, 1
119119
);
120+
121+
// 12) 1학년 학생 1명 더 생성
122+
helper.createStudent(
123+
"fourthstudent@auni.ac.kr", "studentPw", "정학생", "20231423",
124+
university.getId(), majorSW.getId(), 1, 1
125+
);
120126

121127
helper.createEnrollmentPeriod(
122128
university,
@@ -125,7 +131,7 @@ public void init() {
125131
LocalDate.of(2025, 5, 30)
126132
);
127133

128-
// 11) 동시성 테스트용 데이터 생성 (4학년 학생 100명, 교수 1명, 강좌 1개)
134+
// 13) 동시성 테스트용 데이터 생성 (4학년 학생 100명, 교수 1명, 강좌 1개)
129135
createTestDataForConcurrency(university, majorSW);
130136
}
131137

backend/src/main/java/com/WEB4_5_GPT_BE/unihub/global/init/InitProdOrStgData.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,15 @@ public void init() {
114114

115115
// 11) 2학년 학생 1명 더 생성
116116
helper.createStudent(
117-
"thirdstudent@auni.ac.kr", "studentPw3", "정하늘", "20250003",
117+
"thirdstudent@auni.ac.kr", "studentPw", "홍길동", "20250003",
118118
university.getId(), majorSW.getId(), 2, 1
119119
);
120+
121+
// 12) 1학년 학생 1명 더 생성
122+
helper.createStudent(
123+
"fourthstudent@auni.ac.kr", "studentPw", "정학생", "20231423",
124+
university.getId(), majorSW.getId(), 1, 1
125+
);
120126
}
121127

122128
/**

0 commit comments

Comments
 (0)