mirror of https://github.com/usbharu/Hideout.git
test: Blockのシリアライズテストを修正
This commit is contained in:
parent
2a28eddf99
commit
430686436f
|
@ -72,6 +72,7 @@ class BlockTest {
|
||||||
.isEqualTo("https://misskey.usbharu.dev/blocks/9myf6e40vm")
|
.isEqualTo("https://misskey.usbharu.dev/blocks/9myf6e40vm")
|
||||||
assertThat(from).extractingJsonPathStringValue("$.object")
|
assertThat(from).extractingJsonPathStringValue("$.object")
|
||||||
.isEqualTo("https://test-hideout.usbharu.dev/users/test-user2")
|
.isEqualTo("https://test-hideout.usbharu.dev/users/test-user2")
|
||||||
|
assertThat(from).extractingJsonPathStringValue("$.type").isEqualTo("Block")
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue