@@ -21,37 +21,57 @@ class ArticleTest {
|
||||
@Language("JSON")
|
||||
private val articleJson: String = """
|
||||
{
|
||||
"id" : "83b0b60a-5ab3-44f2-b243-1dc469a7564f",
|
||||
"version_id" : "fff2311c-07cc-43a6-bab1-aec6b649a903",
|
||||
"version_number" : null,
|
||||
"title" : "Hello world!",
|
||||
"anonymous" : true,
|
||||
"content" : "bla bla bla",
|
||||
"description" : "this is the changement !",
|
||||
"tags" : [ ],
|
||||
"created_by" : {
|
||||
"id" : "3fff09e4-5ff2-46ee-9fd2-3803a1ffb600",
|
||||
"name" : {
|
||||
"first_name" : "Jaque",
|
||||
"last_name" : "Bono",
|
||||
"civility" : null
|
||||
},
|
||||
"birthday" : "2019-08-03T13:43:13.765Z",
|
||||
"user_id" : null,
|
||||
"vote_anonymous" : null,
|
||||
"follow_anonymous" : null,
|
||||
"user" : {
|
||||
"id" : "151ec430-3aad-4792-9a14-e394b2be491b",
|
||||
"username" : "jaque",
|
||||
"blocked_at" : null,
|
||||
"plain_password" : "azerty",
|
||||
"created_at" : null,
|
||||
"updated_at" : null
|
||||
"id": "83b0b60a-5ab3-44f2-b243-1dc469a7564f",
|
||||
"title": "Hello world!",
|
||||
"anonymous": true,
|
||||
"content": "bla bla bla",
|
||||
"description": "this is the changement !",
|
||||
"tags": [],
|
||||
"draft": false,
|
||||
"last_version": false,
|
||||
"created_by": {
|
||||
"id": "94a0d350-7eab-4a6e-9f84-0c2e7635b67c",
|
||||
"name": {
|
||||
"first_name": "Jaque",
|
||||
"last_name": "Bono",
|
||||
"civility": null
|
||||
},
|
||||
"email": "jaque.bono@gmail.com",
|
||||
"created_at" : null
|
||||
"birthday": "2020-03-16T01:48:27.020Z",
|
||||
"vote_anonymous": true,
|
||||
"follow_anonymous": true,
|
||||
"user": {
|
||||
"id": "2bc356a2-4d3e-46ff-91f4-ae30fb7fa67d",
|
||||
"username": "jaque",
|
||||
"blocked_at": null,
|
||||
"plain_password": "azerty",
|
||||
"roles": [],
|
||||
"created_at": "2020-03-16T01:48:24.153Z",
|
||||
"updated_at": "2020-03-16T01:48:24.516Z"
|
||||
},
|
||||
"deleted_at": null,
|
||||
"deleted": false
|
||||
},
|
||||
"created_at" : null
|
||||
"reference": "article",
|
||||
"views": {
|
||||
"total": 0,
|
||||
"unique": 0,
|
||||
"updated_at": "2020-03-16T01:48:31.070Z"
|
||||
},
|
||||
"version_id": "27cb4f5d-d425-4e10-95ca-6c50fac73408",
|
||||
"version_number": null,
|
||||
"created_at": "2020-03-16T01:48:31.004Z",
|
||||
"deleted_at": null,
|
||||
"deleted": false,
|
||||
"votes": {
|
||||
"up": 0,
|
||||
"neutral": 0,
|
||||
"down": 0,
|
||||
"total": 0,
|
||||
"score": 0,
|
||||
"updated_at": null
|
||||
},
|
||||
"opinions": {}
|
||||
}
|
||||
""".trimIndent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user