You are here

public function ThemekeyNodePropertiesTestCase::testPropertyNodeTitle in ThemeKey 7.3

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

File

tests/ThemekeyNodePropertiesTestCase.test, line 81
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,
  ));
}