Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / path / tests / src / Functional / PathTestBase.php
1 <?php
2
3 namespace Drupal\Tests\path\Functional;
4
5 use Drupal\Tests\BrowserTestBase;
6
7 /**
8  * Provides a base class for testing the Path module.
9  */
10 abstract class PathTestBase extends BrowserTestBase {
11
12   /**
13    * Modules to enable.
14    *
15    * @var array
16    */
17   public static $modules = ['node', 'path'];
18
19   protected function setUp() {
20     parent::setUp();
21
22     // Create Basic page and Article node types.
23     if ($this->profile != 'standard') {
24       $this->drupalCreateContentType(['type' => 'page', 'name' => 'Basic page']);
25       $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']);
26     }
27   }
28
29 }