public function DataLayerWebTests::testDataLayerJsLanguageSettings in dataLayer 7
Test DataLayer JS language settings.
File
- tests/
datalayer.web.test, line 50 - Tests the functionality of the DataLayer module.
Class
- DataLayerWebTests
- @file Tests the functionality of the DataLayer module.
Code
public function testDataLayerJsLanguageSettings() {
$output = $this
->drupalGet('node');
$this
->assertRaw('"dataLayer":{"languages"');
}