test: 失敗するテストを修正

This commit is contained in:
usbharu 2024-09-09 14:49:52 +09:00
parent 587e87b353
commit 6b7cacd83f
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import dev.usbharu.hideout.core.domain.model.userdetails.UserDetailRepository
import dev.usbharu.hideout.core.domain.service.filter.FilterDomainService
import dev.usbharu.hideout.core.domain.service.post.IPostReadAccessControl
import dev.usbharu.hideout.core.infrastructure.other.TwitterSnowflakeIdGenerateService
import dev.usbharu.hideout.core.query.reactions.ReactionsQueryService
import kotlinx.coroutines.test.runTest
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
@ -64,6 +65,9 @@ class DefaultTimelineStoreTest {
@Mock
lateinit var iPostReadAccessControl: IPostReadAccessControl
@Mock
lateinit var reactionsQueryService: ReactionsQueryService
@Spy
val defaultTimelineStoreConfig = DefaultTimelineStoreConfig(500)