public function TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping in Drupal 8
Same name and namespace in other branches
- 9 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()
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
->assertEscaped($this->terms[0]
->label());
}