function MenuRouterTestCase::testMenuGetItemNoAncestors

Test menu_get_item() with empty ancestors.

File

modules/simpletest/tests/menu.test, line 516

Class

MenuRouterTestCase

Code

function testMenuGetItemNoAncestors() {
    variable_set('menu_masks', array());
    $this->drupalGet('');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.