protected function FarmEntityBundleFieldTest::setUp in farmOS 2.x
Overrides FarmBrowserTestBase::setUp
File
- modules/
core/ entity/ tests/ src/ Functional/ FarmEntityBundleFieldTest.php, line 54
Class
- FarmEntityBundleFieldTest
- Tests that bundle fields are created during a postponed install.
Namespace
Drupal\Tests\farm_entity\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->entityFieldManager = $this->container
->get('entity_field.manager');
$this->entityTypeManager = $this->container
->get('entity_type.manager');
$this->database = $this->container
->get('database');
$this->moduleInstaller = $this->container
->get('module_installer');
}