public function TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping in Drupal 9
Same name and namespace in other branches
- 8 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());
}