Skip to content

Commit 7009cf1

Browse files
committed
fix(VolunteerApplyQueryServiceTest): builder는 기본 값이 설정되지 않는 문제 해결
1 parent be87e25 commit 7009cf1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/com/somemore/volunteerApply/service/VolunteerApplyQueryServiceTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.somemore.volunteerApply.service;
22

33
import com.somemore.IntegrationTestSupport;
4+
import com.somemore.volunteerApply.domain.ApplyStatus;
45
import com.somemore.volunteerApply.domain.VolunteerApply;
56
import com.somemore.volunteerApply.repository.VolunteerApplyRepository;
67
import org.junit.jupiter.api.DisplayName;
@@ -50,8 +51,8 @@ private VolunteerApply createVolunteerApply(Long recruitId, UUID volunteerId) {
5051
return VolunteerApply.builder()
5152
.volunteerId(volunteerId)
5253
.recruitBoardId(recruitId)
53-
.status(null)
54-
.attended(null)
54+
.status(ApplyStatus.WAITING)
55+
.attended(false)
5556
.build();
5657
}
5758
}

0 commit comments

Comments
 (0)