40 calls to TaxonomyTestTrait::createTerm()

CommentEntityTest::testEntityChanges in core/modules/comment/tests/src/Functional/CommentEntityTest.php
Tests CSS classes on comments.
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.
PrepareUninstallTest::setUp in core/modules/system/tests/src/Functional/Module/PrepareUninstallTest.php
RssTest::testTaxonomyRss in core/modules/taxonomy/tests/src/Functional/RssTest.php
Tests that terms added to nodes are displayed in core RSS feed.
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.
TaxonomyQueryAlterTest::testTaxonomyQueryAlter in core/modules/taxonomy/tests/src/Kernel/TaxonomyQueryAlterTest.php
Tests that appropriate tags are added when querying the database.
TaxonomyRevisionTest::testVocabularyTermRevision in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionTest.php
Tests default revision settings on vocabularies.
TaxonomyTermContentModerationTest::testTaxonomyTermParents in core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php
Tests taxonomy term parents on a moderated vocabulary.
TaxonomyTermContentModerationTest::testTaxonomyTermPendingRevisions in core/modules/taxonomy/tests/src/Functional/TaxonomyTermContentModerationTest.php
Tests changing field values in pending revisions of taxonomy terms.
TaxonomyTermIndentationTest::testTermIndentation in core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php
Tests term indentation.
TaxonomyTermPagerTest::testTaxonomyTermOverviewPager in core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php
Tests that the pager is displayed properly on the term overview page.
TaxonomyTermPagerTest::testTaxonomyTermOverviewTermLoad in core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php
Tests that overview page only loads the necessary 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::testTaxonomyIndex in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
Tests that the taxonomy index is maintained properly.
TermIndexTest::testTaxonomyTermHierarchyBreadcrumbs in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
Tests that there is a link to the parent term on the child term page.
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::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::testUpdateTermHierarchyDeprecation in core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
@covers \Drupal\taxonomy\TermStorage::updateTermHierarchy @group legacy
TermTest::testReSavingTags in core/modules/taxonomy/tests/src/Functional/TermTest.php
Tests that editing and saving a node with no changes works correctly.
TermTest::testTaxonomyTermChildTerms in core/modules/taxonomy/tests/src/Functional/TermTest.php
Tests that many terms with parents show on each page.
TermTest::testTaxonomyTermHierarchy in core/modules/taxonomy/tests/src/Functional/TermTest.php
Tests terms in a single and multiple hierarchy.
TermTest::testTermMultipleParentsInterface in core/modules/taxonomy/tests/src/Functional/TermTest.php
Tests saving a term with multiple parents through the UI.
TermTest::testTermReorder in core/modules/taxonomy/tests/src/Functional/TermTest.php
Save, edit and delete a term using the user interface.
TermTranslationFieldViewTest::setUpTerm in core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
Creates a test subject term, with translation.
TermTranslationTest::setUpTerms in core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
Setup translated terms in a hierarchy.
ThemeTest::testTaxonomyTermThemes in core/modules/taxonomy/tests/src/Functional/ThemeTest.php
Tests the theme used when adding, viewing and editing taxonomy terms.
TokenReplaceTest::testTaxonomyTokenReplacement in core/modules/taxonomy/tests/src/Kernel/TokenReplaceTest.php
Creates some terms and a node, then tests the tokens generated from them.
VocabularyCrudTest::testTaxonomyVocabularyDeleteWithTerms in core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
Tests deleting a taxonomy that contains terms.
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.

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