You are here

protected function XmlSitemapFunctionalTest::setUp in XML sitemap 8

Same name and namespace in other branches
  1. 2.x 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',
  ]);
}