function TaxonomyGlossaryTest::testTaxonomyGlossaryView
Same name in other branches
- 9 core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php \Drupal\Tests\views\Functional\TaxonomyGlossaryTest::testTaxonomyGlossaryView()
- 10 core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php \Drupal\Tests\views\Functional\TaxonomyGlossaryTest::testTaxonomyGlossaryView()
- 11.x core/modules/views/tests/src/Functional/TaxonomyGlossaryTest.php \Drupal\Tests\views\Functional\TaxonomyGlossaryTest::testTaxonomyGlossaryView()
Tests a taxonomy glossary view.
File
-
core/
modules/ views/ tests/ src/ Functional/ TaxonomyGlossaryTest.php, line 57
Class
- TaxonomyGlossaryTest
- Tests glossary functionality of taxonomy views.
Namespace
Drupal\Tests\views\FunctionalCode
public function testTaxonomyGlossaryView() {
// Go the taxonomy glossary page for the first term.
$this->drupalGet('test_taxonomy_glossary/' . substr($this->taxonomyTerms[0]
->getName(), 0, 1));
$this->assertText($this->taxonomyTerms[0]
->getName());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.