You are here

public function XMLSitemapMenuFunctionalTest::setUp in XML sitemap 7.2

Same name and namespace in other branches
  1. 6.2 xmlsitemap_menu/xmlsitemap_menu.test \XMLSitemapMenuFunctionalTest::setUp()

Setup.

Overrides XMLSitemapTestHelper::setUp

File

xmlsitemap_menu/xmlsitemap_menu.test, line 45
Unit tests for the xmlsitemap_menu project..

Class

XMLSitemapMenuFunctionalTest
Menu Functional Test.

Code

public function setUp($modules = array()) {
  $modules[] = 'xmlsitemap_menu';
  $modules[] = 'menu';
  parent::setUp($modules);
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer menu',
    'administer xmlsitemap',
  ));
  $this->normal_user = $this
    ->drupalCreateUser(array(
    'access content',
  ));
}