You are here

public function ThemekeyDrupalPropertiesTestCase::testPropertyDrupalIsFrontPage in ThemeKey 7.3

Same name and namespace in other branches
  1. 7 tests/ThemekeyDrupalPropertiesTestCase.test \ThemekeyDrupalPropertiesTestCase::testPropertyDrupalIsFrontPage()
  2. 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');
}