protected function GraphQLFileTestBase::setUp in GraphQL 8.3
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ GraphQLFileTestBase.php, line 31
Class
- GraphQLFileTestBase
- Run tests against a *.gql query file.
Namespace
Drupal\Tests\graphql\KernelCode
protected function setUp() {
parent::setUp();
$this
->installConfig('system');
$this
->installConfig('graphql');
$this
->installConfig('user');
$this
->installEntitySchema('user');
Role::load('anonymous')
->grantPermission('execute graphql requests')
->save();
}