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