protected function BlazyKernelTestTrait::setUpKernelInstall in Blazy 8
Same name and namespace in other branches
- 8.2 tests/src/Traits/BlazyKernelTestTrait.php \Drupal\Tests\blazy\Traits\BlazyKernelTestTrait::setUpKernelInstall()
Setup common Kernel classes.
3 calls to BlazyKernelTestTrait::setUpKernelInstall()
- BlazyEntityReferenceFormatterTest::setUp in tests/
src/ Kernel/ BlazyEntityReferenceFormatterTest.php - BlazyKernelTestBase::setUp in tests/
src/ Kernel/ BlazyKernelTestBase.php - Set the default field storage backend for fields created during tests.
- BlazyViewsTestBase::setUp in tests/
src/ Kernel/ Views/ BlazyViewsTestBase.php
File
- tests/
src/ Traits/ BlazyKernelTestTrait.php, line 16
Class
- BlazyKernelTestTrait
- A trait common for Kernel tests.
Namespace
Drupal\Tests\blazy\TraitsCode
protected function setUpKernelInstall() {
$this
->installConfig(static::$modules);
$this
->installSchema('user', [
'users_data',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->installSchema('file', [
'file_usage',
]);
$this
->installEntitySchema('user');
$this
->installEntitySchema('node');
$this
->installEntitySchema('file');
$this
->installEntitySchema('entity_test');
}