function ImporterTest::setUp

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/DefaultContent/ImporterTest.php, line 37

Class

ImporterTest
Tests the Default Content Importer.

Namespace

Drupal\KernelTests\Core\DefaultContent

Code

protected function setUp() : void {
  parent::setUp();
  $this->installEntitySchema('entity_test');
  $this->container
    ->get(EventDispatcherInterface::class)
    ->addSubscriber($this);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.