public function BlockContentDeletionTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/block_content/tests/src/Kernel/BlockContentDeletionTest.php \Drupal\Tests\block_content\Kernel\BlockContentDeletionTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
modules/ block_content/ tests/ src/ Kernel/ BlockContentDeletionTest.php, line 25
Class
- BlockContentDeletionTest
- Tests that deleting a block clears the cached definitions.
Namespace
Drupal\Tests\block_content\KernelCode
public function setUp() : void {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installEntitySchema('block_content');
}