3 namespace Drupal\diff\Tests;
6 * Tests the Diff module plugins.
10 abstract class DiffPluginTestBase extends DiffTestBase {
17 public static $modules = [
24 * A storage instance for the entity form display.
26 * @var \Drupal\Core\Entity\Display\EntityFormDisplayInterface
28 protected $formDisplay;
31 * A storage instance for the entity view display.
33 * @var \Drupal\Core\Entity\Display\EntityViewDisplayInterface
35 protected $viewDisplay;
40 protected function setUp() {
43 $this->formDisplay = \Drupal::entityTypeManager()->getStorage('entity_form_display');
44 $this->viewDisplay = \Drupal::entityTypeManager()->getStorage('entity_view_display');
46 $this->drupalLogin($this->rootUser);