public function DataLayerUnitTests::testDataLayerDefaults in dataLayer 7
Test DataLayer Defaults function.
File
- tests/
datalayer.unit.test, line 31 - Tests the functionality of the DataLayer module.
Class
- DataLayerUnitTests
- @file Tests the functionality of the DataLayer module.
Code
public function testDataLayerDefaults() {
$this
->setupMockLanguage();
$this
->assertEqual(array(
'drupalLanguage' => 'en-us',
'drupalCountry' => '',
), _datalayer_defaults());
}