function MenuRouterTestCase::setUp

Overrides DrupalWebTestCase::setUp

File

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

Class

MenuRouterTestCase

Code

function setUp() {
    // Enable dummy module that implements hook_menu.
    parent::setUp('menu_test');
    // Make the tests below more robust by explicitly setting the default theme
    // and administrative theme that they expect.
    theme_enable(array(
        'bartik',
    ));
    variable_set('theme_default', 'bartik');
    variable_set('admin_theme', 'seven');
}

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