You are here

protected function GraphQLCoreTestBase::setUp in GraphQL 8.3

Overrides GraphQLTestBase::setUp

8 calls to GraphQLCoreTestBase::setUp()
BlockTest::setUp in modules/graphql_core/tests/src/Kernel/Blocks/BlockTest.php
BreadcrumbsTest::setUp in modules/graphql_core/tests/src/Kernel/Breadcrumbs/BreadcrumbsTest.php
ExternalRequestTest::setUp in modules/graphql_core/tests/src/Kernel/Routing/ExternalRequestTest.php
GraphQLContentTestBase::setUp in modules/graphql_core/tests/src/Kernel/GraphQLContentTestBase.php
InternalRequestTest::setUp in modules/graphql_core/tests/src/Kernel/Routing/InternalRequestTest.php

... See full list

8 methods override GraphQLCoreTestBase::setUp()
BlockTest::setUp in modules/graphql_core/tests/src/Kernel/Blocks/BlockTest.php
BreadcrumbsTest::setUp in modules/graphql_core/tests/src/Kernel/Breadcrumbs/BreadcrumbsTest.php
ExternalRequestTest::setUp in modules/graphql_core/tests/src/Kernel/Routing/ExternalRequestTest.php
GraphQLContentTestBase::setUp in modules/graphql_core/tests/src/Kernel/GraphQLContentTestBase.php
InternalRequestTest::setUp in modules/graphql_core/tests/src/Kernel/Routing/InternalRequestTest.php

... See full list

File

modules/graphql_core/tests/src/Kernel/GraphQLCoreTestBase.php, line 24

Class

GraphQLCoreTestBase
Test base for drupal core graphql functionality.

Namespace

Drupal\Tests\graphql_core\Kernel

Code

protected function setUp() {
  parent::setUp();

  // User entity schema is required for the currentUserContext field.
  $this
    ->installEntitySchema('user');
  module_load_include('install', 'user', 'user');
  user_install();
}