diff --git a/src/test/kotlin/dev/usbharu/hideout/service/ap/APNoteServiceImplTest.kt b/src/test/kotlin/dev/usbharu/hideout/service/ap/APNoteServiceImplTest.kt index 26e1ae4e..4c40d000 100644 --- a/src/test/kotlin/dev/usbharu/hideout/service/ap/APNoteServiceImplTest.kt +++ b/src/test/kotlin/dev/usbharu/hideout/service/ap/APNoteServiceImplTest.kt @@ -80,15 +80,16 @@ class APNoteServiceImplTest { val jobQueueParentService = mock() val activityPubNoteService = APNoteServiceImpl( - mock(), - jobQueueParentService, - mock(), - mock(), - userQueryService, - followerQueryService, - mock(), + httpClient = mock(), + jobQueueParentService = jobQueueParentService, + postRepository = mock(), + apUserService = mock(), + userQueryService = userQueryService, + followerQueryService = followerQueryService, + postQueryService = mock(), objectMapper = objectMapper, - applicationConfig = testApplicationConfig + applicationConfig = testApplicationConfig, + postService = mock() ) val postEntity = Post.of( 1L, @@ -121,7 +122,8 @@ class APNoteServiceImplTest { followerQueryService = mock(), postQueryService = mock(), objectMapper = objectMapper, - applicationConfig = testApplicationConfig + applicationConfig = testApplicationConfig, + postService = mock() ) activityPubNoteService.createNoteJob( JobProps(