Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / taxonomy / tests / src / Functional / TaxonomyTestBase.php
1 <?php
2
3 namespace Drupal\Tests\taxonomy\Functional;
4
5 use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait;
6 use Drupal\Tests\BrowserTestBase;
7
8 /**
9  * Provides common helper methods for Taxonomy module tests.
10  */
11 abstract class TaxonomyTestBase extends BrowserTestBase {
12
13   use TaxonomyTestTrait;
14   use EntityReferenceTestTrait;
15
16   /**
17    * Modules to enable.
18    *
19    * @var array
20    */
21   public static $modules = ['taxonomy', 'block'];
22
23   /**
24    * {@inheritdoc}
25    */
26   protected function setUp() {
27     parent::setUp();
28     $this->drupalPlaceBlock('system_breadcrumb_block');
29
30     // Create Basic page and Article node types.
31     if ($this->profile != 'standard') {
32       $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']);
33     }
34   }
35
36 }