You are here

protected function DbLogTest::setUp in Drupal 8

Same name in this branch
  1. 8 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::setUp()
  2. 8 core/modules/dblog/tests/src/Kernel/DbLogTest.php \Drupal\Tests\dblog\Kernel\DbLogTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/dblog/tests/src/Kernel/DbLogTest.php \Drupal\Tests\dblog\Kernel\DbLogTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/dblog/tests/src/Kernel/DbLogTest.php, line 27

Class

DbLogTest
Generate events and verify dblog entries.

Namespace

Drupal\Tests\dblog\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('dblog', [
    'watchdog',
  ]);
  $this
    ->installSchema('system', [
    'key_value_expire',
    'sequences',
  ]);
  $this
    ->installConfig([
    'system',
  ]);
}