protected function FixedBlockContentKernelTestBase::setUp in Fixed Block Content 8
Overrides KernelTestBase::setUp
2 calls to FixedBlockContentKernelTestBase::setUp()
- AutoExportTest::setUp in tests/
src/ Kernel/ AutoExportTest.php - FixedToContentMappingTest::setUp in tests/
src/ Kernel/ FixedToContentMappingTest.php
2 methods override FixedBlockContentKernelTestBase::setUp()
- AutoExportTest::setUp in tests/
src/ Kernel/ AutoExportTest.php - FixedToContentMappingTest::setUp in tests/
src/ Kernel/ FixedToContentMappingTest.php
File
- tests/
src/ Kernel/ FixedBlockContentKernelTestBase.php, line 61
Class
- FixedBlockContentKernelTestBase
- Basic setup for fixed block content kernel tests.
Namespace
Drupal\Tests\fixed_block_content\KernelCode
protected function setUp() {
parent::setUp();
$this->entityTypeManager = $this->container
->get('entity_type.manager');
$this
->installEntitySchema('user');
$this
->installEntitySchema('block_content');
$this
->installSchema('fixed_block_content', [
'fixed_block_content',
]);
$this
->installConfig([
'system',
'block_content',
'filter',
]);
$this
->createBasicBlockType();
$this
->createFixedBlock();
$this
->installConfig([
'fixed_block_content_test',
]);
}