graphql-engine/server/testcases/changeset_qerr.json
2018-06-28 00:32:00 +05:30

40 lines
802 B
JSON

{
"description": "changeset qerr test",
"depends": [
"permission.json"
],
"items": [
{
"name": "add column 1",
"url": "/api/1/query",
"user_id": "1",
"role": "admin",
"status_code": 400,
"method": "POST",
"request": {
"kind": "add_column",
"body": {
"__type": "add_column",
"table": "author",
"column": "age"
}
}
},
{
"name": "add column 2 (check for lockup)",
"url": "/api/1/query",
"user_id": "1",
"role": "admin",
"status_code": 400,
"method": "POST",
"request": {
"kind": "add_column",
"body": {
"__type": "add_column",
"table": "author",
"column": "age"
}
}
}
]
}