public function TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/taxonomy/src/Tests/Views/TaxonomyTermArgumentDepthTest.php \Drupal\taxonomy\Tests\Views\TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping()
Tests title escaping.
File
- core/
modules/ taxonomy/ src/ Tests/ Views/ TaxonomyTermArgumentDepthTest.php, line 59 - Contains \Drupal\taxonomy\Tests\Views\TaxonomyTermArgumentDepthTest.
Class
- TaxonomyTermArgumentDepthTest
- Tests the taxonomy term with depth argument.
Namespace
Drupal\taxonomy\Tests\ViewsCode
public function testTermWithDepthArgumentTitleEscaping() {
$this
->drupalGet('test_argument_taxonomy_index_tid_depth/' . $this->terms[0]
->id());
$this
->assertEscaped($this->terms[0]
->label());
}