update postgresjson

This commit is contained in:
2019-08-27 12:33:32 +02:00
parent 67665350eb
commit ff76bd55ef
29 changed files with 139 additions and 119 deletions

View File

@@ -21,7 +21,7 @@ class FollowTest {
@Language("JSON")
private val followJson: String = """{
"id":"bae81585-d985-4d7a-9b58-3a13e911688a",
"citizen":{
"created_by":{
"id":"4a87ad24-187a-46a8-97ab-00b30a24e561",
"name":{
"first_name":"Jaque",
@@ -76,7 +76,7 @@ class FollowTest {
createdBy = citizen
)
val follow = Follow(
citizen = citizen,
createdBy = citizen,
target = article
)
follow.serialize().contains("""Hello world!""") shouldBe true