protected function SitemapFrontpageTest::setUp in Sitemap 8.2
Same name and namespace in other branches
- 2.0.x src/Tests/SitemapFrontpageTest.php \Drupal\sitemap\Tests\SitemapFrontpageTest::setUp()
Overrides BrowserTestBase::setUp
File
- src/
Tests/ SitemapFrontpageTest.php, line 24
Class
- SitemapFrontpageTest
- Tests the display of RSS links based on sitemap settings.
Namespace
Drupal\sitemap\TestsCode
protected function setUp() {
parent::setUp();
// Create user, then login.
$this->user = $this
->drupalCreateUser([
'administer sitemap',
'access sitemap',
]);
$this
->drupalLogin($this->user);
}