fix draft on SQL tests
This commit is contained in:
@@ -5,7 +5,7 @@ declare
|
||||
_user_id uuid;
|
||||
_citizen_id uuid;
|
||||
created_citizen json := '{"name": {"first_name":"George", "last_name":"MICHEL"}, "birthday": "2001-01-01"}';
|
||||
created_article json := '{"version_id":"933b6a1b-50c9-42b6-989f-c02a57814ef9", "title": "Love the world", "anonymous": false, "content": "bla bal bla", "tags": ["love", "test"]}';
|
||||
created_article json := '{"version_id":"933b6a1b-50c9-42b6-989f-c02a57814ef9", "title": "Love the world", "anonymous": false, "content": "bla bal bla", "tags": ["love", "test"], "draft":false}';
|
||||
created_article_v2 json;
|
||||
first_article_id uuid;
|
||||
second_article_id uuid;
|
||||
|
||||
@@ -22,7 +22,8 @@ declare
|
||||
"tags": [
|
||||
"love",
|
||||
"test"
|
||||
]
|
||||
],
|
||||
"draft":false
|
||||
}
|
||||
$json$;
|
||||
_comment_id uuid;
|
||||
|
||||
@@ -22,7 +22,8 @@ declare
|
||||
"tags": [
|
||||
"love",
|
||||
"test"
|
||||
]
|
||||
],
|
||||
"draft":false
|
||||
}
|
||||
$json$;
|
||||
created_constitution json := $json$
|
||||
|
||||
@@ -21,7 +21,8 @@ declare
|
||||
"tags": [
|
||||
"love",
|
||||
"test"
|
||||
]
|
||||
],
|
||||
"draft":false
|
||||
}
|
||||
$json$;
|
||||
votes jsonb;
|
||||
|
||||
Reference in New Issue
Block a user