public function ThemekeyDrupalPropertiesTestCase::testPropertyDrupalIsFrontPage in ThemeKey 7.3
Same name and namespace in other branches
- 7 tests/ThemekeyDrupalPropertiesTestCase.test \ThemekeyDrupalPropertiesTestCase::testPropertyDrupalIsFrontPage()
- 7.2 tests/ThemekeyDrupalPropertiesTestCase.test \ThemekeyDrupalPropertiesTestCase::testPropertyDrupalIsFrontPage()
File
- tests/
ThemekeyDrupalPropertiesTestCase.test, line 18 - Implements tests for the theme switching rules.
Class
- ThemekeyDrupalPropertiesTestCase
- @file Implements tests for the theme switching rules.
Code
public function testPropertyDrupalIsFrontPage() {
$this
->simplePropertyTest('drupal:is_front_page', '=', 'true');
}