GraphQL Requests
GraphQL Requests
When testing a GraphQL endpoint, we set the $schema
property on the test class.
The mutation must be stored in a variable for readability in each test.
To run the GraphQL endpoint, call the ->graphql()
method.
Last updated