You are here

function MenuRouterTestCase::testMenuGetItemNoAncestors in Drupal 7

Test menu_get_item() with empty ancestors.

File

modules/simpletest/tests/menu.test, line 516
Provides SimpleTests for menu.inc.

Class

MenuRouterTestCase

Code

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