DiffPluginTestBase.php in Diff 8
File
tests/src/Functional/DiffPluginTestBase.php
View source
<?php
namespace Drupal\Tests\diff\Functional;
use Drupal\Tests\TestFileCreationTrait;
abstract class DiffPluginTestBase extends DiffTestBase {
use TestFileCreationTrait {
getTestFiles as drupalGetTestFiles;
}
protected static $modules = [
'diff_test',
'link',
'options',
];
protected $formDisplay;
protected $viewDisplay;
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);
}
}