rename annonymous to anonymous
This commit is contained in:
@@ -24,7 +24,7 @@ class ArticleTest {
|
||||
"version_id" : "fff2311c-07cc-43a6-bab1-aec6b649a903",
|
||||
"version_number" : null,
|
||||
"title" : "Hello world!",
|
||||
"annonymous" : true,
|
||||
"anonymous" : true,
|
||||
"content" : "bla bla bla",
|
||||
"description" : "this is the changement !",
|
||||
"tags" : [ ],
|
||||
@@ -37,8 +37,8 @@ class ArticleTest {
|
||||
},
|
||||
"birthday" : "2019-08-03T13:43:13.765Z",
|
||||
"user_id" : null,
|
||||
"vote_annonymous" : null,
|
||||
"follow_annonymous" : null,
|
||||
"vote_anonymous" : null,
|
||||
"follow_anonymous" : null,
|
||||
"user" : {
|
||||
"id" : "151ec430-3aad-4792-9a14-e394b2be491b",
|
||||
"username" : "jaque",
|
||||
|
||||
@@ -21,7 +21,7 @@ class ConstitutionTest {
|
||||
private val constitutionJson: String = """{
|
||||
"id":"15814bb6-8d90-4c6a-a456-c3939a8ec75e",
|
||||
"title":"Hello world!",
|
||||
"annonymous":true,
|
||||
"anonymous":true,
|
||||
"titles":[
|
||||
{
|
||||
"id":"8156b66f-a9c8-4fd9-8375-a8a1f42ccfd2",
|
||||
@@ -36,8 +36,8 @@ class ConstitutionTest {
|
||||
},
|
||||
"birthday":"2019-08-07T20:34:08.013Z",
|
||||
"user_id":null,
|
||||
"vote_annonymous":null,
|
||||
"follow_annonymous":null,
|
||||
"vote_anonymous":null,
|
||||
"follow_anonymous":null,
|
||||
"user":{
|
||||
"id":"257abe9f-be17-4ad3-ae6a-b1dc9706d5d7",
|
||||
"username":"jaque",
|
||||
@@ -60,8 +60,8 @@ class ConstitutionTest {
|
||||
},
|
||||
"birthday":"2019-08-07T20:34:08.013Z",
|
||||
"user_id":null,
|
||||
"vote_annonymous":null,
|
||||
"follow_annonymous":null,
|
||||
"vote_anonymous":null,
|
||||
"follow_anonymous":null,
|
||||
"user":{
|
||||
"id":"257abe9f-be17-4ad3-ae6a-b1dc9706d5d7",
|
||||
"username":"jaque",
|
||||
@@ -86,7 +86,7 @@ class ConstitutionTest {
|
||||
)
|
||||
val constitution = Constitution(
|
||||
title = "Hello world!",
|
||||
annonymous = true,
|
||||
anonymous = true,
|
||||
titles = listOf(title1),
|
||||
createdBy = citizen
|
||||
)
|
||||
|
||||
@@ -30,8 +30,8 @@ class FollowTest {
|
||||
},
|
||||
"birthday":"2019-08-09T11:42:47.168Z",
|
||||
"user_id":null,
|
||||
"vote_annonymous":null,
|
||||
"follow_annonymous":null,
|
||||
"vote_anonymous":null,
|
||||
"follow_anonymous":null,
|
||||
"user":{
|
||||
"id":"721db690-d050-46e6-92b0-056f2e8ba993",
|
||||
"username":"jaque",
|
||||
@@ -45,7 +45,7 @@ class FollowTest {
|
||||
"target":{
|
||||
"id":"34588ea7-c180-4694-801b-1b5c5a6ed73f",
|
||||
"title":"Hello world!",
|
||||
"annonymous":true,
|
||||
"anonymous":true,
|
||||
"content":"bla bla bla",
|
||||
"description":"this is the changement !",
|
||||
"tags":[
|
||||
|
||||
@@ -37,7 +37,7 @@ class ConstitutionSteps: En, KoinTest {
|
||||
title = "hello",
|
||||
titles = listOf(title1),
|
||||
createdBy = citizen,
|
||||
annonymous = false
|
||||
anonymous = false
|
||||
)
|
||||
get<ConstitutionRepository>().upsert(constitution)
|
||||
}
|
||||
@@ -54,7 +54,7 @@ class ConstitutionSteps: En, KoinTest {
|
||||
title = "hello",
|
||||
titles = listOf(title1),
|
||||
createdBy = citizen,
|
||||
annonymous = false
|
||||
anonymous = false
|
||||
)
|
||||
get<ConstitutionRepository>().upsert(constitution)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user