function DbLogTest::setUp

Overrides KernelTestBase::setUp

File

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

Class

DbLogTest
Generate events and verify dblog entries.

Namespace

Drupal\Tests\dblog\Kernel

Code

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

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