public function HtmlTitleViewsTest::testViewsInterfaceTranslationRenderingLanguage in HTML Title 8
Test views integration with interface translation rendering language.
File
- tests/
src/ Functional/ HtmlTitleViewsTest.php, line 130
Class
- HtmlTitleViewsTest
- Tests the HTML Title integration with Views.
Namespace
Drupal\Tests\html_title\FunctionalCode
public function testViewsInterfaceTranslationRenderingLanguage() {
$this
->drupalGet('/test-interface-language');
$this
->assertSession()
->responseContains('Test <sup>sup</sup>-tag, <sub>sub</sub>-tag, <br>br-tag and p-tag');
$this
->drupalGet('fr/test-interface-language');
$this
->assertSession()
->responseContains('Test <sup>sup</sup>-tag, <sub>sub</sub>-tag, <br>br-tag and p-tag FR');
}