Skip to content

Commit

Permalink
🚑 hotfix: hotfix announcement list response test
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghun-dev committed Jun 14, 2024
1 parent 003e1b9 commit db49b8e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import com.depromeet.announcement.Announcement;
import com.depromeet.common.error.exception.internal.NotFoundException;
import com.depromeet.domains.announcement.dto.response.AnnouncementListResponseDto;
import com.depromeet.domains.announcement.dto.response.AnnouncementResponseDto;
import com.depromeet.domains.announcement.repository.AnnouncementRepository;
import com.depromeet.domains.announcement.service.AnnouncementService;
Expand Down Expand Up @@ -58,8 +59,8 @@ void getAnnouncementsTestSuccess2() {

assertThat(result.getData()).isEqualTo(
List.of(
new AnnouncementResponseDto(announcements.get(0)),
new AnnouncementResponseDto(announcements.get(1))
new AnnouncementListResponseDto(announcements.get(0)),
new AnnouncementListResponseDto(announcements.get(1))
)
);
}
Expand Down

0 comments on commit db49b8e

Please sign in to comment.