Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / diff / src / Tests / DiffPluginTestBase.php
1 <?php
2
3 namespace Drupal\diff\Tests;
4
5 /**
6  * Tests the Diff module plugins.
7  *
8  * @ingroup diff
9  */
10 abstract class DiffPluginTestBase extends DiffTestBase {
11
12   /**
13    * Modules to enable.
14    *
15    * @var array
16    */
17   public static $modules = [
18     'diff_test',
19     'link',
20     'options',
21   ];
22
23   /**
24    * A storage instance for the entity form display.
25    *
26    * @var \Drupal\Core\Entity\Display\EntityFormDisplayInterface
27    */
28   protected $formDisplay;
29
30   /**
31    * A storage instance for the entity view display.
32    *
33    * @var \Drupal\Core\Entity\Display\EntityViewDisplayInterface
34    */
35   protected $viewDisplay;
36
37   /**
38    * {@inheritdoc}
39    */
40   protected function setUp() {
41     parent::setUp();
42
43     $this->formDisplay = \Drupal::entityTypeManager()->getStorage('entity_form_display');
44     $this->viewDisplay = \Drupal::entityTypeManager()->getStorage('entity_view_display');
45
46     $this->drupalLogin($this->rootUser);
47   }
48
49 }