49 calls to TaxonomyTestTrait::createVocabulary()

AddModerationConfigActionTest::testAddEntityTypeAndBundle in core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
CommentEntityTest::setUp in core/modules/comment/tests/src/Functional/CommentEntityTest.php
ContentImportTest::setUp in core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
DefaultValueWidgetTest::testDefaultValueOptionsForChangingBundles in core/modules/field_ui/tests/src/FunctionalJavascript/DefaultValueWidgetTest.php
Tests default value options on field config change.
LoadMultipleTest::testTaxonomyTermMultipleLoad in core/modules/taxonomy/tests/src/Kernel/LoadMultipleTest.php
Tests loading multiple taxonomy terms by term ID and vocabulary.
LocalTasksTest::testLocalTaskBlockUrl in core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
Tests local task block URLs for entities with path aliases.
PermissionsPerBundleTest::setUp in core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
PrepareUninstallTest::setUp in core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php
RssTest::setUp in core/modules/taxonomy/tests/src/Functional/RssTest.php
TaxonomyFieldTidTest::setUp in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldTidTest.php
TaxonomyFieldVidTest::setUp in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldVidTest.php
TaxonomyGlossaryTest::setUp in core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php
Sets up the test.
TaxonomyImageTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.php
TaxonomyQueryAlterTest::testTaxonomyQueryAlter in core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php
Tests that appropriate tags are added when querying the database.
TaxonomyRevisionDeleteTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionDeleteTest.php
TaxonomyRevisionRevertTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionRevertTest.php
TaxonomyRevisionTest::testVocabularyTermRevision in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionTest.php
Tests default revision settings on vocabularies.
TaxonomyRevisionVersionHistoryTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionVersionHistoryTest.php
TaxonomyTermContentModerationTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php
TaxonomyTermIndentationTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php
TaxonomyTermPagerTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php
TermAccessTest::testTermAccess in core/modules/taxonomy/tests/src/Functional/TermAccessTest.php
Tests access control functionality for taxonomy terms.
TermAutocompleteTest::setUp in core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php
TermContextTest::testGetRuntimeContexts in core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php
@covers ::getRuntimeContexts
TermContextualLinksTest::testTermContextualLinks in core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php
Tests contextual links.
TermEntityQueryTest::testTermEntityQuery in core/modules/taxonomy/tests/src/Kernel/TermEntityQueryTest.php
Tests that a basic taxonomy entity query works.
TermIndexTest::setUp in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
TermKernelTest::testDeleteTermHierarchyDeprecation in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
@covers \Drupal\taxonomy\TermStorage::deleteTermHierarchy @group legacy
TermKernelTest::testMultipleParentDelete in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
Deleting a parent of a term with multiple parents does not delete the term.
TermKernelTest::testParentHandlerSettings in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
The "parent" field must restrict references to the same vocabulary.
TermKernelTest::testRevisionLogAccess in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
Tests revision log access.
TermKernelTest::testTaxonomyVocabularyTree in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
Tests a taxonomy with terms that have multiple parents of different depths.
TermKernelTest::testTermDelete in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
Tests that a deleted term is no longer in the vocabulary.
TermKernelTest::testTermPreview in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
Tests that a Term is renderable when unsaved (preview).
TermKernelTest::testUpdateTermHierarchyDeprecation in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
@covers \Drupal\taxonomy\TermStorage::updateTermHierarchy @group legacy
TermLanguageTest::setUp in core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
TermTest::setUp in core/modules/taxonomy/tests/src/Functional/TermTest.php
TermTranslationFieldViewTest::setUp in core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
TermTranslationTest::setUp in core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
ThemeTest::testTaxonomyTermThemes in core/modules/taxonomy/tests/src/Functional/ThemeTest.php
Tests the theme used when adding, viewing and editing taxonomy terms.
TokenReplaceTest::setUp in core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php
VocabularyCrudTest::testTaxonomyVocabularyDeleteWithTerms in core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
Tests deleting a taxonomy that contains terms.
VocabularyCrudTest::testTaxonomyVocabularyLoadMultiple in core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
Tests for loading multiple vocabularies.
VocabularyCrudTest::testUninstallReinstall in core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
Tests uninstall and reinstall of the taxonomy module.
VocabularyPermissionsTest::testTaxonomyVocabularyOverviewPermissions in core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
Tests the vocabulary overview permission.
VocabularyPermissionsTest::testVocabularyPermissionsTaxonomyTerm in core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
Create, edit and delete a taxonomy term via the user interface.
VocabularyUiTest::setUp in core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
VocabularyUiTest::testTaxonomyAdminChangingWeights in core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
Changing weights on the vocabulary overview with two or more vocabularies.
WorkspaceTest::testWorkspaceManagePage in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Tests the manage workspace page.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.