You are here

protected function LinkitKernelTestBase::setUp in Linkit 8.5

Overrides KernelTestBase::setUp

11 calls to LinkitKernelTestBase::setUp()
ContactFormMatcherTest::setUp in tests/src/Kernel/Matchers/ContactFormMatcherTest.php
EntityMatcherDeriverTest::setUp in tests/src/Kernel/EntityMatcherDeriverTest.php
FileMatcherTest::setUp in tests/src/Kernel/Matchers/FileMatcherTest.php
LinkitAutocompleteTest::setUp in tests/src/Kernel/LinkitAutocompleteTest.php
LinkitEditorLinkDialogTest::setUp in tests/src/Kernel/LinkitEditorLinkDialogTest.php
Sets up the test.

... See full list

11 methods override LinkitKernelTestBase::setUp()
ContactFormMatcherTest::setUp in tests/src/Kernel/Matchers/ContactFormMatcherTest.php
EntityMatcherDeriverTest::setUp in tests/src/Kernel/EntityMatcherDeriverTest.php
FileMatcherTest::setUp in tests/src/Kernel/Matchers/FileMatcherTest.php
LinkitAutocompleteTest::setUp in tests/src/Kernel/LinkitAutocompleteTest.php
LinkitEditorLinkDialogTest::setUp in tests/src/Kernel/LinkitEditorLinkDialogTest.php
Sets up the test.

... See full list

File

tests/src/Kernel/LinkitKernelTestBase.php, line 31

Class

LinkitKernelTestBase
Defines an abstract test base for entity kernel tests.

Namespace

Drupal\Tests\linkit\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', 'sequences');
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig([
    'filter',
  ]);
  if ($this->container
    ->get('entity_type.manager')
    ->hasDefinition('path_alias')) {
    $this
      ->installEntitySchema('path_alias');
  }
}