You are here

protected function BlockConfigSchemaTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Tests/BlockConfigSchemaTest.php \Drupal\block\Tests\BlockConfigSchemaTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/block/src/Tests/BlockConfigSchemaTest.php, line 59
Contains \Drupal\block\Tests\BlockConfigSchemaTest.

Class

BlockConfigSchemaTest
Tests the block config schema.

Namespace

Drupal\block\Tests

Code

protected function setUp() {
  parent::setUp();
  $this->typedConfig = \Drupal::service('config.typed');
  $this->blockManager = \Drupal::service('plugin.manager.block');
  $this
    ->installEntitySchema('block_content');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installEntitySchema('node');
  $this
    ->installSchema('book', array(
    'book',
  ));
}