3 namespace Drupal\Tests\taxonomy\Functional\Views;
6 * Tests the representative node relationship for terms.
10 class TaxonomyDefaultArgumentTest extends TaxonomyTestBase {
13 * Views used by this test.
17 public static $testViews = ['taxonomy_default_argument_test'];
20 * Tests escaping of page title when the taxonomy plugin provides it.
22 public function testTermTitleEscaping() {
23 $this->term1->setName('<em>Markup</em>')->save();
24 $this->drupalGet('taxonomy_default_argument_test/' . $this->term1->id());
25 $this->assertEscaped($this->term1->label());