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