mirror of https://github.com/usbharu/Hideout.git
test: Jsonのシリアライズが少し変わっていたので修正
This commit is contained in:
parent
fada03297e
commit
ccc9659a78
|
@ -50,8 +50,9 @@ class ActivityPubFollowServiceImplTest {
|
||||||
val follow = scheduleContext.props.props[ReceiveFollowJob.follow.name]
|
val follow = scheduleContext.props.props[ReceiveFollowJob.follow.name]
|
||||||
assertEquals("https://follower.example.com", actor)
|
assertEquals("https://follower.example.com", actor)
|
||||||
assertEquals("https://example.com", targetActor)
|
assertEquals("https://example.com", targetActor)
|
||||||
|
//language=JSON
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"""{"type":"Follow","name":"Follow","object":"https://example.com","actor":"https://follower.example.com","@context":null}""",
|
"""{"type":"Follow","name":"Follow","actor":"https://follower.example.com","object":"https://example.com","@context":null}""",
|
||||||
follow
|
follow
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue