3 namespace Drupal\taxonomy\Tests;
5 use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait;
6 use Drupal\simpletest\WebTestBase;
9 * Provides common helper methods for Taxonomy module tests.
11 * @deprecated Scheduled for removal in Drupal 9.0.0.
12 * Use \Drupal\Tests\taxonomy\Functional\TaxonomyTestBase instead.
14 abstract class TaxonomyTestBase extends WebTestBase {
16 use TaxonomyTestTrait;
17 use EntityReferenceTestTrait;
24 public static $modules = ['taxonomy', 'block'];
29 protected function setUp() {
31 $this->drupalPlaceBlock('system_breadcrumb_block');
33 // Create Basic page and Article node types.
34 if ($this->profile != 'standard') {
35 $this->drupalCreateContentType(['type' => 'article', 'name' => 'Article']);