36 calls to TaxonomyTestTrait::createTerm() in Drupal 9
- CommentEntityTest::testEntityChanges in core/
modules/ comment/ tests/ src/ Functional/ CommentEntityTest.php - Tests CSS classes on comments.
- EntityReferenceFieldAttributesTest::testNodeTeaser in core/
modules/ rdf/ tests/ src/ Functional/ EntityReferenceFieldAttributesTest.php - Tests if file fields in teasers have correct resources.
- LoadMultipleTest::testTaxonomyTermMultipleLoad in core/
modules/ taxonomy/ tests/ src/ Functional/ LoadMultipleTest.php - Create a vocabulary and some taxonomy terms, ensuring they're loaded correctly using entity_load_multiple().
- 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.
- TaxonomyAttributesTest::testTaxonomyTermRdfaAttributes in core/
modules/ rdf/ tests/ src/ Functional/ TaxonomyAttributesTest.php - Creates a random term and ensures the RDF output is correct.
- TaxonomyDeprecationTest::testTaxonomyDeprecations in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyDeprecationTest.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 - TaxonomyQueryAlterTest::testTaxonomyQueryAlter in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyQueryAlterTest.php - Tests that appropriate tags are added when querying the database.
- 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.
- 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::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::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.
- TermTest::testReSavingTags in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTest.php - Tests that editing and saving a node with no changes works correctly.
- TermTest::testTaxonomyGetTermByName in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTest.php - Tests taxonomy_term_load_multiple_by_name().
- TermTest::testTaxonomyNode in core/
modules/ taxonomy/ tests/ src/ Functional/ TermTest.php - Tests that hook_node_$op implementations work 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/ Functional/ 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.