protected function ConfigEntityDependencyCollectorTest::setUp in Dependency Calculation 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ EventSubscriber/ DependencyCollector/ ConfigEntityDependencyCollectorTest.php, line 59
Class
- ConfigEntityDependencyCollectorTest
- Class ConfigEntityDependencyCollector.
Namespace
Drupal\Tests\depcalc\Kernel\EventSubscriber\DependencyCollectorCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installSchema('node', 'node_access');
$this
->installEntitySchema('node');
$this
->installConfig([
'language',
'field',
'filter',
'node',
'system',
]);
$this
->installEntitySchema('path_alias');
$this->calculator = Drupal::service('entity.dependency.calculator');
}