You are here

property MenuTreeDataTestCase::$links in SimpleTest 7

Dummy link structure acceptable for menu_tree_data().

File

tests/menu.test, line 292
Provides SimpleTests for menu.inc.

Class

MenuTreeDataTestCase
Menu tree data related tests.

Code

var $links = array(
  1 => array(
    'mlid' => 1,
    'depth' => 1,
  ),
  2 => array(
    'mlid' => 2,
    'depth' => 1,
  ),
  3 => array(
    'mlid' => 3,
    'depth' => 2,
  ),
  4 => array(
    'mlid' => 4,
    'depth' => 3,
  ),
  5 => array(
    'mlid' => 5,
    'depth' => 1,
  ),
);