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