You are here

public function UniqueQueueTest::register in Queue Unique 8.2

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()

File

tests/src/Kernel/UniqueQueueTest.php, line 25

Class

UniqueQueueTest
Unique queue kernel test.

Namespace

Drupal\Tests\queue_unique\Kernel

Code

public function register(ContainerBuilder $container) {
  parent::register($container);
  $this->container
    ->setParameter('install_profile', 'testing');
}