public function TaxonomyTermTest::setUp in Acquia Content Hub 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ TaxonomyTermTest.php, line 61
Class
- TaxonomyTermTest
- Test that Acquia Content Hub respects Taxonomy Term.
Namespace
Drupal\Tests\acquia_contenthub\FunctionalCode
public function setUp() : void {
parent::setUp();
// Login user and create vocabulary.
$this
->drupalLogin($this->adminUser);
$this->vocabulary = $this
->createVocabulary();
// Enable Publish options for new vocabulary.
$this
->configureContentHubContentTypes('taxonomy_term', [
$this->vocabulary
->get('vid'),
]);
}