You are here

abstract protected function QueryResultAssertionTrait::getDefaultSchema in GraphQL 8.3

Return the default schema for this test.

Return value

string The default schema id.

2 calls to QueryResultAssertionTrait::getDefaultSchema()
QueryResultAssertionTrait::assertErrors in tests/src/Traits/QueryResultAssertionTrait.php
Assert a query result with certain errors.
QueryResultAssertionTrait::assertResults in tests/src/Traits/QueryResultAssertionTrait.php
Assert a result for a graphql query and variables.
1 method overrides QueryResultAssertionTrait::getDefaultSchema()
GraphQLTestBase::getDefaultSchema in tests/src/Kernel/GraphQLTestBase.php
Return the default schema for this test.

File

tests/src/Traits/QueryResultAssertionTrait.php, line 21

Class

QueryResultAssertionTrait
Trait for easier assertion on GraphQL query results.

Namespace

Drupal\Tests\graphql\Traits

Code

protected abstract function getDefaultSchema();