mirror of https://github.com/usbharu/Hideout.git
test: テストを修正
This commit is contained in:
parent
5c6987f2b0
commit
8915f18eab
|
@ -181,8 +181,8 @@ class APServiceImpl(
|
|||
private val apAcceptService: APAcceptService,
|
||||
private val apCreateService: APCreateService,
|
||||
private val apLikeService: APLikeService,
|
||||
@Qualifier("activitypub") private val objectMapper: ObjectMapper,
|
||||
private val apReceiveDeleteService: APReceiveDeleteService
|
||||
private val apReceiveDeleteService: APReceiveDeleteService,
|
||||
@Qualifier("activitypub") private val objectMapper: ObjectMapper
|
||||
) : APService {
|
||||
|
||||
val logger: Logger = LoggerFactory.getLogger(APServiceImpl::class.java)
|
||||
|
|
|
@ -16,6 +16,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -33,6 +34,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -50,6 +52,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -67,6 +70,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -84,6 +88,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -101,6 +106,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -118,6 +124,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -135,6 +142,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -152,6 +160,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -169,6 +178,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -186,6 +196,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -203,6 +214,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
@ -220,6 +232,7 @@ class APServiceImplTest {
|
|||
apAcceptService = mock(),
|
||||
apCreateService = mock(),
|
||||
apLikeService = mock(),
|
||||
apReceiveDeleteService = mock(),
|
||||
objectMapper = objectMapper
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue