mirror of https://github.com/usbharu/Hideout.git
test: テストを修正
This commit is contained in:
parent
577f9fbfe0
commit
bbdfb59bb0
|
@ -80,15 +80,16 @@ class APNoteServiceImplTest {
|
||||||
val jobQueueParentService = mock<JobQueueParentService>()
|
val jobQueueParentService = mock<JobQueueParentService>()
|
||||||
val activityPubNoteService =
|
val activityPubNoteService =
|
||||||
APNoteServiceImpl(
|
APNoteServiceImpl(
|
||||||
mock(),
|
httpClient = mock(),
|
||||||
jobQueueParentService,
|
jobQueueParentService = jobQueueParentService,
|
||||||
mock(),
|
postRepository = mock(),
|
||||||
mock(),
|
apUserService = mock(),
|
||||||
userQueryService,
|
userQueryService = userQueryService,
|
||||||
followerQueryService,
|
followerQueryService = followerQueryService,
|
||||||
mock(),
|
postQueryService = mock(),
|
||||||
objectMapper = objectMapper,
|
objectMapper = objectMapper,
|
||||||
applicationConfig = testApplicationConfig
|
applicationConfig = testApplicationConfig,
|
||||||
|
postService = mock()
|
||||||
)
|
)
|
||||||
val postEntity = Post.of(
|
val postEntity = Post.of(
|
||||||
1L,
|
1L,
|
||||||
|
@ -121,7 +122,8 @@ class APNoteServiceImplTest {
|
||||||
followerQueryService = mock(),
|
followerQueryService = mock(),
|
||||||
postQueryService = mock(),
|
postQueryService = mock(),
|
||||||
objectMapper = objectMapper,
|
objectMapper = objectMapper,
|
||||||
applicationConfig = testApplicationConfig
|
applicationConfig = testApplicationConfig,
|
||||||
|
postService = mock()
|
||||||
)
|
)
|
||||||
activityPubNoteService.createNoteJob(
|
activityPubNoteService.createNoteJob(
|
||||||
JobProps(
|
JobProps(
|
||||||
|
|
Loading…
Reference in New Issue