You are here

public function XMLSitemapTaxonomyFunctionalTest::setUp in XML sitemap 7.2

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

SetUp.

Overrides XMLSitemapTestHelper::setUp

File

xmlsitemap_taxonomy/xmlsitemap_taxonomy.test, line 45
Unit tests for the xmlsitemap_taxonomy module.

Class

XMLSitemapTaxonomyFunctionalTest
Functional Test.

Code

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