protected function LogQueryTest::setUp in farmOS 2.x
Overrides KernelTestBase::setUp
File
- modules/
core/ log/ tests/ src/ Kernel/ LogQueryTest.php, line 37
Class
- LogQueryTest
- Tests for farmOS log query factory.
Namespace
Drupal\Tests\farm_log\KernelCode
protected function setUp() : void {
parent::setUp();
$this->logQueryFactory = \Drupal::service('farm.log_query');
$this
->installEntitySchema('asset');
$this
->installEntitySchema('log');
$this
->installEntitySchema('user');
$this
->installConfig([
'farm_log_query_test',
]);
}