Skip to content

Commit 16195e6

Browse files
committed
test: 테스트 코드 수정 (DASOMBE-15)
1 parent d7b08c5 commit 16195e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/dmu/dasom/api/domain/activity/ActivityServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void deleteActivity_whenNotFound_thenThrowException() {
152152
private ActivityRequestDto createRequestDto(Section section) {
153153
return ActivityRequestDto.builder()
154154
.activityDate(LocalDate.of(2024, 5, 10))
155-
.section(section) // Section 객체를 직접 전달
155+
.section(section.getName()) // Section 객체를 직접 전달
156156
.title("새로운 활동 제목")
157157
.award("최우수상")
158158
.build();

0 commit comments

Comments
 (0)