You are here

protected function XmlSitemapFunctionalTest::setUp in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/XmlSitemapFunctionalTest.php \Drupal\Tests\xmlsitemap\Functional\XmlSitemapFunctionalTest::setUp()

Overrides XmlSitemapTestBase::setUp

File

tests/src/Functional/XmlSitemapFunctionalTest.php, line 20

Class

XmlSitemapFunctionalTest
Tests the generation of sitemaps.

Namespace

Drupal\Tests\xmlsitemap\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->admin_user = $this
    ->drupalCreateUser([
    'access content',
    'administer site configuration',
    'administer xmlsitemap',
    'access administration pages',
    'access site reports',
    'administer permissions',
    'view the administration theme',
  ]);
}