You are here

36 calls to TaxonomyTestTrait::createTerm() in Drupal 8

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.
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
TaxonomyLegacyTest::testEntityLegacyCode in core/modules/taxonomy/tests/src/Kernel/TaxonomyLegacyTest.php
@expectedDeprecation taxonomy_term_load_multiple() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\taxonomy\Entity\Term::loadMultiple(). See https://www.drupal.org/node/2266845 @expectedDeprecation…
TaxonomyLegacyTest::testTaxonomyTermView in core/modules/taxonomy/tests/src/Kernel/TaxonomyLegacyTest.php
@expectedDeprecation taxonomy_term_view() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder('taxonomy_term')->view() instead. See…
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
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
Test 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
Test taxonomy_term_load_multiple_by_name().
TermTest::testTaxonomyNode in core/modules/taxonomy/tests/src/Functional/TermTest.php
Test 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
Test terms in a single and multiple hierarchy.
TermTest::testTermMultipleParentsInterface in core/modules/taxonomy/tests/src/Functional/TermTest.php
Test 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
Test 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
Test deleting a taxonomy that contains terms.
VocabularyPermissionsTest::testTaxonomyVocabularyOverviewPermissions in core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
Test 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.