protected function DiffPluginTestBase::setUp in Diff 8
Overrides DiffTestBase::setUp
2 calls to DiffPluginTestBase::setUp()
- DiffPluginEntityTest::setUp in tests/
src/ Functional/ DiffPluginEntityTest.php - DiffPluginFileTest::setUp in tests/
src/ Functional/ DiffPluginFileTest.php
2 methods override DiffPluginTestBase::setUp()
- DiffPluginEntityTest::setUp in tests/
src/ Functional/ DiffPluginEntityTest.php - DiffPluginFileTest::setUp in tests/
src/ Functional/ DiffPluginFileTest.php
File
- tests/
src/ Functional/ DiffPluginTestBase.php, line 40
Class
- DiffPluginTestBase
- Tests the Diff module plugins.
Namespace
Drupal\Tests\diff\FunctionalCode
protected function setUp() {
parent::setUp();
$this->formDisplay = \Drupal::entityTypeManager()
->getStorage('entity_form_display');
$this->viewDisplay = \Drupal::entityTypeManager()
->getStorage('entity_view_display');
$this
->drupalLogin($this->rootUser);
}