You are here

protected function DatabaseStorageTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php \Drupal\system\Tests\KeyValueStore\DatabaseStorageTest::setUp()
  2. 8 core/modules/config/src/Tests/Storage/DatabaseStorageTest.php \Drupal\config\Tests\Storage\DatabaseStorageTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php \Drupal\system\Tests\KeyValueStore\DatabaseStorageTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides StorageTestBase::setUp

File

core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php, line 27
Contains \Drupal\system\Tests\KeyValueStore\DatabaseStorageTest.

Class

DatabaseStorageTest
Tests the key-value database storage.

Namespace

Drupal\system\Tests\KeyValueStore

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', array(
    'key_value',
  ));
}