You are here

public function DbLogControllerTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php \Drupal\Tests\dblog\Kernel\DbLogControllerTest::setUp()
  2. 10 core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php \Drupal\Tests\dblog\Kernel\DbLogControllerTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php, line 20

Class

DbLogControllerTest
Tests for the DbLogController class.

Namespace

Drupal\Tests\dblog\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('dblog', [
    'watchdog',
  ]);
}