function DbLogControllerTest::setUp

Same name in other branches
  1. 9 core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php \Drupal\Tests\dblog\Kernel\DbLogControllerTest::setUp()
  2. 8.9.x core/modules/dblog/tests/src/Kernel/DbLogControllerTest.php \Drupal\Tests\dblog\Kernel\DbLogControllerTest::setUp()
  3. 11.x 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 25

Class

DbLogControllerTest
Tests for the DbLogController class.

Namespace

Drupal\Tests\dblog\Kernel

Code

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

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