function TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping
Same name in other branches
- 8.9.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping()
- 10 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping()
- 11.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping()
Tests title escaping.
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ Views/ TaxonomyTermArgumentDepthTest.php, line 64
Class
- TaxonomyTermArgumentDepthTest
- Tests the taxonomy term with depth argument.
Namespace
Drupal\Tests\taxonomy\Functional\ViewsCode
public function testTermWithDepthArgumentTitleEscaping() {
$this->drupalGet('test_argument_taxonomy_index_tid_depth/' . $this->terms[0]
->id());
$this->assertSession()
->assertEscaped($this->terms[0]
->label());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.