Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public NoticeDto.Response createNotice(Long workplaceId, User author, NoticeDto.
publishNoticeCreatedNotification(saved);
} catch (Exception e) {
log.error("공지사항 생성은 성공했지만 알림 발행에 실패했습니다. noticeId={}, workplaceId={}",
saved.getId(), workplaceId, e);
saved.getId(), workplace.getId(), e);
}
return NoticeDto.Response.from(saved);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void getWorkplaceById_NotFound() {
}

@Test
@DisplayName("사용자 ID로 사업장 목록 조회 성공")
@DisplayName("사용자 ID로 사업장 목록 조회 성공 - 활성 사업장만 조회")
void getWorkplacesByUserId_Success() {
// given
when(employerService.getEmployerByUserId(1L)).thenReturn(testEmployer);
Expand Down
Loading