fix draft on SQL tests
This commit is contained in:
@@ -5,7 +5,7 @@ declare
|
|||||||
_user_id uuid;
|
_user_id uuid;
|
||||||
_citizen_id uuid;
|
_citizen_id uuid;
|
||||||
created_citizen json := '{"name": {"first_name":"George", "last_name":"MICHEL"}, "birthday": "2001-01-01"}';
|
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;
|
created_article_v2 json;
|
||||||
first_article_id uuid;
|
first_article_id uuid;
|
||||||
second_article_id uuid;
|
second_article_id uuid;
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ declare
|
|||||||
"tags": [
|
"tags": [
|
||||||
"love",
|
"love",
|
||||||
"test"
|
"test"
|
||||||
]
|
],
|
||||||
|
"draft":false
|
||||||
}
|
}
|
||||||
$json$;
|
$json$;
|
||||||
_comment_id uuid;
|
_comment_id uuid;
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ declare
|
|||||||
"tags": [
|
"tags": [
|
||||||
"love",
|
"love",
|
||||||
"test"
|
"test"
|
||||||
]
|
],
|
||||||
|
"draft":false
|
||||||
}
|
}
|
||||||
$json$;
|
$json$;
|
||||||
created_constitution json := $json$
|
created_constitution json := $json$
|
||||||
|
|||||||
@@ -21,7 +21,8 @@ declare
|
|||||||
"tags": [
|
"tags": [
|
||||||
"love",
|
"love",
|
||||||
"test"
|
"test"
|
||||||
]
|
],
|
||||||
|
"draft":false
|
||||||
}
|
}
|
||||||
$json$;
|
$json$;
|
||||||
votes jsonb;
|
votes jsonb;
|
||||||
|
|||||||
Reference in New Issue
Block a user