Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / taxonomy / tests / src / Functional / Views / TaxonomyFieldAllTermsTest.php
index ce70c72cc6ee8db443f80c3ea2a7e0c73bd75be8..ad1d67d6bc32814f48c1223b1cd7a55daa766b57 100644 (file)
@@ -57,7 +57,7 @@ class TaxonomyFieldAllTermsTest extends TaxonomyTestBase {
     $this->assertText('The taxonomy term name for the term: ' . $this->term1->getName());
 
     // The machine name for the vocabulary the term belongs to: {{ term_node_tid__vocabulary_vid }}
-    $this->assertText('The machine name for the vocabulary the term belongs to: ' . $this->term1->getVocabularyId());
+    $this->assertText('The machine name for the vocabulary the term belongs to: ' . $this->term1->bundle());
 
     // The name for the vocabulary the term belongs to: {{ term_node_tid__vocabulary }}
     $vocabulary = Vocabulary::load($this->term1->bundle());