public function DataLayerKernelTest::testDataLayerDefaults in dataLayer 8
Test DataLayer Defaults function.
File
- tests/
src/ Kernel/ DataLayerKernelTest.php, line 102
Class
- DataLayerKernelTest
- Kernel test cases for datalayer module.
Namespace
Drupal\Tests\datalayer\KernelCode
public function testDataLayerDefaults() {
$this
->assertEqual([
'drupalLanguage' => Language::$defaultValues['id'],
'drupalCountry' => $this
->config('system.date')
->get('country.default'),
'siteName' => $this
->config('system.site')
->get('name'),
], _datalayer_defaults());
}