public function TermMergeTestBase::setUp in Term Merge 8
Overrides BrowserTestBase::setUp
1 call to TermMergeTestBase::setUp()
- IntegrationTest::setUp in tests/
src/ Functional/ IntegrationTest.php
1 method overrides TermMergeTestBase::setUp()
- IntegrationTest::setUp in tests/
src/ Functional/ IntegrationTest.php
File
- tests/
src/ Functional/ TermMergeTestBase.php, line 56
Class
- TermMergeTestBase
- Provides a base class for Term Merge functional tests.
Namespace
Drupal\Tests\term_merge\FunctionalCode
public function setUp() {
parent::setUp();
$this->contentType = $this
->drupalCreateContentType();
$this->vocabulary = $this
->createVocabulary();
$this
->createEntityReferenceField('node', $this->contentType
->id(), 'field_tags', 'Tags', 'taxonomy_term', 'default', [], -1);
}