3 namespace Drupal\Tests\taxonomy\Functional;
5 use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait;
6 use Drupal\Tests\BrowserTestBase;
9 * Provides common helper methods for Taxonomy module tests.
11 abstract class TaxonomyTestBase extends BrowserTestBase {
13 use TaxonomyTestTrait;
14 use EntityReferenceTestTrait;
21 public static $modules = ['taxonomy', 'block'];
26 protected function setUp() {
28 $this->drupalPlaceBlock('system_breadcrumb_block');
30 // Create Basic page and Article node types.
31 if ($this->profile != 'standard') {
32 $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']);