protected function DiffDynamicEntityReferencePluginTest::setUp in Dynamic Entity Reference 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/DiffDynamicEntityReferencePluginTest.php \Drupal\Tests\dynamic_entity_reference\Functional\DiffDynamicEntityReferencePluginTest::setUp()
Overrides DiffPluginTestBase::setUp
File
- tests/
src/ Functional/ DiffDynamicEntityReferencePluginTest.php, line 31
Class
- DiffDynamicEntityReferencePluginTest
- Tests dynamic entity reference diff plugin.
Namespace
Drupal\Tests\dynamic_entity_reference\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser($this->adminPermissions);
// FieldUiTestTrait checks the breadcrumb when adding a field, so we need
// to show the breadcrumb block.
$this
->drupalPlaceBlock('system_breadcrumb_block');
}