You are here

public function ThemekeyNodePropertiesTestCase::testPropertyNodeUid in ThemeKey 7.3

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

File

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

Class

ThemekeyNodePropertiesTestCase
@file Implements tests for the theme switching rules.

Code

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