mirror of https://github.com/usbharu/Hideout.git
test: 失敗するテストを修正
This commit is contained in:
parent
021f6b0d45
commit
3612a78115
|
@ -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.filter.FilterDomainService
|
||||||
import dev.usbharu.hideout.core.domain.service.post.IPostReadAccessControl
|
import dev.usbharu.hideout.core.domain.service.post.IPostReadAccessControl
|
||||||
import dev.usbharu.hideout.core.infrastructure.other.TwitterSnowflakeIdGenerateService
|
import dev.usbharu.hideout.core.infrastructure.other.TwitterSnowflakeIdGenerateService
|
||||||
|
import dev.usbharu.hideout.core.query.reactions.ReactionsQueryService
|
||||||
import kotlinx.coroutines.test.runTest
|
import kotlinx.coroutines.test.runTest
|
||||||
import org.assertj.core.api.Assertions.assertThat
|
import org.assertj.core.api.Assertions.assertThat
|
||||||
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.Test
|
||||||
|
@ -64,6 +65,9 @@ class DefaultTimelineStoreTest {
|
||||||
@Mock
|
@Mock
|
||||||
lateinit var iPostReadAccessControl: IPostReadAccessControl
|
lateinit var iPostReadAccessControl: IPostReadAccessControl
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
lateinit var reactionsQueryService: ReactionsQueryService
|
||||||
|
|
||||||
@Spy
|
@Spy
|
||||||
val defaultTimelineStoreConfig = DefaultTimelineStoreConfig(500)
|
val defaultTimelineStoreConfig = DefaultTimelineStoreConfig(500)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue