function EditTestBase::setUp

Sets the default field storage backend for fields created during tests.

Overrides DrupalUnitTestBase::setUp

3 calls to EditTestBase::setUp()
EditIntegrationTest::setUp in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationTest.php
Sets the default field storage backend for fields created during tests.
EditorSelectionTest::setUp in drupal/core/modules/edit/lib/Drupal/edit/Tests/EditorSelectionTest.php
Sets the default field storage backend for fields created during tests.
MetadataGeneratorTest::setUp in drupal/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php
Sets the default field storage backend for fields created during tests.
3 methods override EditTestBase::setUp()
EditIntegrationTest::setUp in drupal/core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationTest.php
Sets the default field storage backend for fields created during tests.
EditorSelectionTest::setUp in drupal/core/modules/edit/lib/Drupal/edit/Tests/EditorSelectionTest.php
Sets the default field storage backend for fields created during tests.
MetadataGeneratorTest::setUp in drupal/core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php
Sets the default field storage backend for fields created during tests.

File

drupal/core/modules/edit/lib/Drupal/edit/Tests/EditTestBase.php, line 26
Contains \Drupal\edit\Tests\EditTestBase.

Class

EditTestBase
Parent class for Edit tests.

Namespace

Drupal\edit\Tests

Code

function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', 'variable');
  $this
    ->installSchema('entity_test', array(
    'entity_test',
    'entity_test_rev',
  ));
  $this
    ->installConfig(array(
    'field',
  ));
}