You are here

public function ThemekeyNodePropertiesTestCase::testPropertyNodeNid in ThemeKey 7

Same name and namespace in other branches
  1. 7.3 tests/ThemekeyNodePropertiesTestCase.test \ThemekeyNodePropertiesTestCase::testPropertyNodeNid()
  2. 7.2 tests/ThemekeyNodePropertiesTestCase.test \ThemekeyNodePropertiesTestCase::testPropertyNodeNid()

File

tests/ThemekeyNodePropertiesTestCase.test, line 38
Implements tests for the theme switching rules.

Class

ThemekeyNodePropertiesTestCase
@file Implements tests for the theme switching rules.

Code

public function testPropertyNodeNid() {
  $node = $this
    ->drupalCreateNode();
  $this
    ->simplePropertyTest('node:nid', '=', $node->nid, array(
    'path' => 'node/' . $node->nid,
  ));
}