diff --git a/archive-application/src/test/java/site/archive/service/archive/ArchiveServiceTest.java b/archive-application/src/test/java/site/archive/service/archive/ArchiveServiceTest.java index 7574119..d7646d9 100644 --- a/archive-application/src/test/java/site/archive/service/archive/ArchiveServiceTest.java +++ b/archive-application/src/test/java/site/archive/service/archive/ArchiveServiceTest.java @@ -9,6 +9,7 @@ import site.archive.common.exception.common.UnauthorizedResourceException; import site.archive.domain.archive.Archive; import site.archive.domain.archive.ArchiveRepository; +import site.archive.domain.archive.CoverImageType; import site.archive.domain.archive.Emotion; import site.archive.domain.user.BaseUser; import site.archive.domain.user.UserInfo; @@ -158,6 +159,7 @@ void cannotViewPrivateSpecificArchiveWhenOtherArchive() { private List dummyArchives(BaseUser user) { return List.of( Archive.builder() + .id(1L) .name("archive_1") .author(user) .watchedOn(LocalDate.now()) @@ -167,6 +169,7 @@ private List dummyArchives(BaseUser user) { .isPublic(true) .build(), Archive.builder() + .id(2L) .name("archive_2") .author(user) .watchedOn(LocalDate.now()) @@ -188,6 +191,7 @@ private Archive dummyArchive(long archiveId, BaseUser user, boolean isPublic) { .mainImage("main_image_1") .companions(Collections.emptyList()) .isPublic(isPublic) + .coverImageType(CoverImageType.EMOTION_COVER) .build(); }