GraphQLCoreTestBase.php in GraphQL 8.3
Namespace
Drupal\Tests\graphql_core\KernelFile
modules/graphql_core/tests/src/Kernel/GraphQLCoreTestBase.phpView source
<?php
namespace Drupal\Tests\graphql_core\Kernel;
use Drupal\Tests\graphql\Kernel\GraphQLTestBase;
/**
* Test base for drupal core graphql functionality.
*/
class GraphQLCoreTestBase extends GraphQLTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
'graphql_core',
'path_alias',
'user',
];
/**
* {@inheritdoc}
*/
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();
}
}
Classes
Name | Description |
---|---|
GraphQLCoreTestBase | Test base for drupal core graphql functionality. |