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. 10 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 20

Class

DbLogControllerTest
Tests for the DbLogController class.

Namespace

Drupal\Tests\dblog\Kernel

Code

public function setUp() {
    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.