public function ThemekeyNodePropertiesTestCase::testPropertyNodeType in ThemeKey 7.3
Same name and namespace in other branches
- 7 tests/ThemekeyNodePropertiesTestCase.test \ThemekeyNodePropertiesTestCase::testPropertyNodeType()
- 7.2 tests/ThemekeyNodePropertiesTestCase.test \ThemekeyNodePropertiesTestCase::testPropertyNodeType()
File
- tests/
ThemekeyNodePropertiesTestCase.test, line 71 - Implements tests for the theme switching rules.
Class
- ThemekeyNodePropertiesTestCase
- @file Implements tests for the theme switching rules.
Code
public function testPropertyNodeType() {
$node = $this
->drupalCreateNode(array(
'type' => 'page',
));
$this
->simplePropertyTest('node:type', '=', 'page', array(
'path' => 'node/' . $node->nid,
));
}