public function DbDumpTest::containerBuild in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Update/DbDumpTest.php \Drupal\system\Tests\Update\DbDumpTest::containerBuild()
Register a database cache backend rather than memory-based.
Overrides KernelTestBase::containerBuild
File
- core/
modules/ system/ src/ Tests/ Update/ DbDumpTest.php, line 74 - Contains \Drupal\system\Tests\Update\DbDumpTest.
Class
- DbDumpTest
- Tests for the database dump commands.
Namespace
Drupal\system\Tests\UpdateCode
public function containerBuild(ContainerBuilder $container) {
parent::containerBuild($container);
$container
->register('cache_factory', 'Drupal\\Core\\Cache\\DatabaseBackendFactory')
->addArgument(new Reference('database'))
->addArgument(new Reference('cache_tags.invalidator.checksum'));
}