function CronQueueTest::register
Same name in other branches
- 10 core/modules/system/tests/src/Kernel/System/CronQueueTest.php \Drupal\Tests\system\Kernel\System\CronQueueTest::register()
Overrides KernelTestBase::register
File
-
core/
modules/ system/ tests/ src/ Kernel/ System/ CronQueueTest.php, line 344
Class
- CronQueueTest
- Tests the Cron Queue runner.
Namespace
Drupal\Tests\system\Kernel\SystemCode
public function register(ContainerBuilder $container) {
parent::register($container);
$container->register('test_logger', get_class($this->logger
->reveal()))
->addTag('logger');
$container->set('test_logger', $this->logger
->reveal());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.