You are here

protected function ResultTest::setUp in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Kernel/Framework/ResultTest.php \Drupal\Tests\graphql\Kernel\Framework\ResultTest::setUp()

Overrides GraphQLTestBase::setUp

File

tests/src/Kernel/Framework/ResultTest.php, line 20

Class

ResultTest
Test the whole query result pipeline.

Namespace

Drupal\Tests\graphql\Kernel\Framework

Code

protected function setUp() {
  parent::setUp();
  $this
    ->mockField('root', [
    'name' => 'root',
    'type' => 'String',
  ], 'test');
}