public function GraphQLTestBase::register in GraphQL 8.3
Registers test-specific services.
Extend this method in your test to register additional services. This method is called whenever the kernel is rebuilt.
Parameters
\Drupal\Core\DependencyInjection\ContainerBuilder $container: The service container to enhance.
Overrides KernelTestBase::register
See also
\Drupal\Tests\KernelTestBase::bootKernel()
2 calls to GraphQLTestBase::register()
- DisabledResultCacheTest::register in tests/
src/ Kernel/ Framework/ DisabledResultCacheTest.php - Registers test-specific services.
- DisabledSchemaCacheTest::register in tests/
src/ Kernel/ Framework/ DisabledSchemaCacheTest.php - Registers test-specific services.
2 methods override GraphQLTestBase::register()
- DisabledResultCacheTest::register in tests/
src/ Kernel/ Framework/ DisabledResultCacheTest.php - Registers test-specific services.
- DisabledSchemaCacheTest::register in tests/
src/ Kernel/ Framework/ DisabledSchemaCacheTest.php - Registers test-specific services.
File
- tests/
src/ Kernel/ GraphQLTestBase.php, line 92
Class
- GraphQLTestBase
- Base class for GraphQL tests.
Namespace
Drupal\Tests\graphql\KernelCode
public function register(ContainerBuilder $container) {
parent::register($container);
}