mirror of
https://github.com/usbharu/Hideout.git
synced 2026-07-03 04:07:53 +00:00
test: Jsonのシリアライズが少し変わっていたので修正
This commit is contained in:
+2
-1
@@ -50,8 +50,9 @@ class ActivityPubFollowServiceImplTest {
|
||||
val follow = scheduleContext.props.props[ReceiveFollowJob.follow.name]
|
||||
assertEquals("https://follower.example.com", actor)
|
||||
assertEquals("https://example.com", targetActor)
|
||||
//language=JSON
|
||||
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
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user