function DbLogTest::setUp
Same name in this branch
- 8.9.x core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::setUp()
Same name in other branches
- 9 core/modules/dblog/tests/src/Kernel/DbLogTest.php \Drupal\Tests\dblog\Kernel\DbLogTest::setUp()
- 9 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::setUp()
- 10 core/modules/dblog/tests/src/Kernel/DbLogTest.php \Drupal\Tests\dblog\Kernel\DbLogTest::setUp()
- 10 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::setUp()
- 11.x core/modules/dblog/tests/src/Kernel/DbLogTest.php \Drupal\Tests\dblog\Kernel\DbLogTest::setUp()
- 11.x core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ dblog/ tests/ src/ Kernel/ DbLogTest.php, line 27
Class
- DbLogTest
- Generate events and verify dblog entries.
Namespace
Drupal\Tests\dblog\KernelCode
protected function setUp() {
parent::setUp();
$this->installSchema('dblog', [
'watchdog',
]);
$this->installSchema('system', [
'key_value_expire',
'sequences',
]);
$this->installConfig([
'system',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.