You are here

protected function EntityMutationTest::setUp in GraphQL 8.3

Overrides GraphQLContentTestBase::setUp

File

modules/graphql_core/tests/src/Kernel/EntityMutation/EntityMutationTest.php, line 33

Class

EntityMutationTest
Test abstract entity mutation classes.

Namespace

Drupal\Tests\graphql_core\Kernel\EntityMutation

Code

protected function setUp() {
  parent::setUp();
  $this
    ->mockInputType('node_input', [
    'name' => 'NodeInput',
    'fields' => [
      'title' => 'String',
      'body' => 'String',
    ],
  ]);
}