You are here

protected function InvalidPayloadTest::setUp in GraphQL 8.4

Overrides GraphQLTestBase::setUp

File

tests/src/Kernel/Framework/InvalidPayloadTest.php, line 18

Class

InvalidPayloadTest
Invalid payloads should not trigger a PHP error, but be handled as empty.

Namespace

Drupal\Tests\graphql\Kernel\Framework

Code

protected function setUp() : void {
  parent::setUp();
  $schema = <<<GQL
      type Query {
        root: String
      }
GQL;
  $this
    ->setUpSchema($schema);
}