Skip to content

Commit 3818d8d

Browse files
committed
refactor(recruit-board): volunteerType -> VolunteerCategory
1 parent 5c30e18 commit 3818d8d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/test/java/com/somemore/common/fixture/RecruitBoardFixture.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class RecruitBoardFixture {
2222
public static final String TITLE = "봉사모집제목";
2323
public static final String CONTENT = "봉사모집내용";
2424
public static final String IMG_URL = "https://image.domain.com/links";
25-
public static final VolunteerCategory VOLUNTEER_VOLUNTEER_CATEGORY = OTHER;
25+
public static final VolunteerCategory VOLUNTEER_CATEGORY = OTHER;
2626

2727
private RecruitBoardFixture() {
2828
}
@@ -34,7 +34,7 @@ public static RecruitBoard createRecruitBoard() {
3434
.recruitmentCount(RECRUITMENT_COUNT)
3535
.volunteerStartDateTime(START_DATE_TIME)
3636
.volunteerEndDateTime(END_DATE_TIME)
37-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
37+
.volunteerCategory(VOLUNTEER_CATEGORY)
3838
.admitted(ADMITTED)
3939
.build();
4040

@@ -55,7 +55,7 @@ public static RecruitBoard createRecruitBoard(String title) {
5555
.recruitmentCount(RECRUITMENT_COUNT)
5656
.volunteerStartDateTime(START_DATE_TIME)
5757
.volunteerEndDateTime(END_DATE_TIME)
58-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
58+
.volunteerCategory(VOLUNTEER_CATEGORY)
5959
.admitted(ADMITTED)
6060
.build();
6161

@@ -76,7 +76,7 @@ public static RecruitBoard createRecruitBoard(String title, UUID centerId, Long
7676
.recruitmentCount(RECRUITMENT_COUNT)
7777
.volunteerStartDateTime(START_DATE_TIME)
7878
.volunteerEndDateTime(END_DATE_TIME)
79-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
79+
.volunteerCategory(VOLUNTEER_CATEGORY)
8080
.admitted(ADMITTED)
8181
.build();
8282

@@ -97,7 +97,7 @@ public static RecruitBoard createRecruitBoard(String title, UUID centerId) {
9797
.recruitmentCount(RECRUITMENT_COUNT)
9898
.volunteerStartDateTime(START_DATE_TIME)
9999
.volunteerEndDateTime(END_DATE_TIME)
100-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
100+
.volunteerCategory(VOLUNTEER_CATEGORY)
101101
.admitted(ADMITTED)
102102
.build();
103103

@@ -139,7 +139,7 @@ public static RecruitBoard createRecruitBoard(Boolean admitted, UUID centerId) {
139139
.recruitmentCount(RECRUITMENT_COUNT)
140140
.volunteerStartDateTime(START_DATE_TIME)
141141
.volunteerEndDateTime(END_DATE_TIME)
142-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
142+
.volunteerCategory(VOLUNTEER_CATEGORY)
143143
.admitted(admitted)
144144
.build();
145145

@@ -160,7 +160,7 @@ public static RecruitBoard createRecruitBoard(Long locationId) {
160160
.recruitmentCount(RECRUITMENT_COUNT)
161161
.volunteerStartDateTime(START_DATE_TIME)
162162
.volunteerEndDateTime(END_DATE_TIME)
163-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
163+
.volunteerCategory(VOLUNTEER_CATEGORY)
164164
.admitted(ADMITTED)
165165
.build();
166166

@@ -181,7 +181,7 @@ public static RecruitBoard createRecruitBoard(UUID centerId) {
181181
.recruitmentCount(RECRUITMENT_COUNT)
182182
.volunteerStartDateTime(START_DATE_TIME)
183183
.volunteerEndDateTime(END_DATE_TIME)
184-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
184+
.volunteerCategory(VOLUNTEER_CATEGORY)
185185
.admitted(ADMITTED)
186186
.build();
187187

@@ -202,7 +202,7 @@ public static RecruitBoard createRecruitBoard(UUID centerId, Long locationId) {
202202
.recruitmentCount(RECRUITMENT_COUNT)
203203
.volunteerStartDateTime(START_DATE_TIME)
204204
.volunteerEndDateTime(END_DATE_TIME)
205-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
205+
.volunteerCategory(VOLUNTEER_CATEGORY)
206206
.admitted(ADMITTED)
207207
.build();
208208

@@ -244,7 +244,7 @@ public static RecruitBoard createRecruitBoard(Long locationId, String title) {
244244
.recruitmentCount(RECRUITMENT_COUNT)
245245
.volunteerStartDateTime(START_DATE_TIME)
246246
.volunteerEndDateTime(END_DATE_TIME)
247-
.volunteerCategory(VOLUNTEER_VOLUNTEER_CATEGORY)
247+
.volunteerCategory(VOLUNTEER_CATEGORY)
248248
.admitted(ADMITTED)
249249
.build();
250250

@@ -290,7 +290,7 @@ public static RecruitBoard createCompletedRecruitBoard(VolunteerCategory categor
290290

291291
public static RecruitBoard createCompletedRecruitBoard() {
292292
RecruitBoard recruitBoard = createCompletedRecruitBoard(UUID.randomUUID(),
293-
VOLUNTEER_VOLUNTEER_CATEGORY);
293+
VOLUNTEER_CATEGORY);
294294
setRecruitStatusCompleted(recruitBoard);
295295
return recruitBoard;
296296
}

0 commit comments

Comments
 (0)