comparison core/modules/taxonomy/tests/src/Functional/TermIndexTest.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
205 205
206 // Verify that the page breadcrumbs include a link to the parent term. 206 // Verify that the page breadcrumbs include a link to the parent term.
207 $this->drupalGet('taxonomy/term/' . $term1->id()); 207 $this->drupalGet('taxonomy/term/' . $term1->id());
208 // Breadcrumbs are not rendered with a language, prevent the term 208 // Breadcrumbs are not rendered with a language, prevent the term
209 // language from being added to the options. 209 // language from being added to the options.
210 $this->assertRaw(\Drupal::l($term2->getName(), $term2->urlInfo('canonical', ['language' => NULL])), 'Parent term link is displayed when viewing the node.'); 210 $this->assertRaw(\Drupal::l($term2->getName(), $term2->toUrl('canonical', ['language' => NULL])), 'Parent term link is displayed when viewing the node.');
211 } 211 }
212 212
213 } 213 }