You are here

public function TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermArgumentDepthTest.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermArgumentDepthTest::testTermWithDepthArgumentTitleEscaping()
  2. 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\Views

Code

public function testTermWithDepthArgumentTitleEscaping() {
  $this
    ->drupalGet('test_argument_taxonomy_index_tid_depth/' . $this->terms[0]
    ->id());
  $this
    ->assertEscaped($this->terms[0]
    ->label());
}