diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-18 01:04:29 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-18 01:04:29 -0700 |
commit | 116f8b6428eee4c0748c36f536f7c2155c0ad905 (patch) | |
tree | fbb94f9d59e1b9f4767f63177a7ea3b5c280e6f4 /modules/simpletest | |
parent | 2a91ace4c14e77e41e18c92298d0cf1c87e4d474 (diff) | |
download | brdo-116f8b6428eee4c0748c36f536f7c2155c0ad905.tar.gz brdo-116f8b6428eee4c0748c36f536f7c2155c0ad905.tar.bz2 |
Issue #898634 by catch, alex_b, chx: Fixed install_drupal(): call to menu-touching functions results in SQL syntax error.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/tests/menu.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test index 5642fcee0..c0a79d4c2 100644 --- a/modules/simpletest/tests/menu.test +++ b/modules/simpletest/tests/menu.test @@ -395,6 +395,14 @@ class MenuRouterTestCase extends DrupalWebTestCase { } /** + * Test menu_get_item() with empty ancestors. + */ + function testMenuGetItemNoAncestors() { + variable_set('menu_masks', array()); + $this->drupalGet(''); + } + + /** * Test menu_set_item(). */ function testMenuSetItem() { |