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