You are here

public function DbLogControllerTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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',
  ]);
}