graphql-engine/server/test/testcases/insert_mutation_author.yaml
Anon Ray 4270529c11 basic test suite (#78)
* server: basic test setup

* server: use the default transaction mode

* server: basic tests in yaml files

* server: restructure test setup and some more tests
2018-07-11 12:43:07 +05:30

23 lines
376 B
YAML

description: Inserts author data via GraphQL mutation
url: /v1alpha1/graphql
status: 200
query:
query: |
mutation insert_author {
insert_author(
objects: [
{
name: "Author 1"
},
{
name: "Author 2"
}
]
) {
returning {
id
name
}
}
}