You are here

protected function PageLoadProgressAdminSettingsTest::setUp in Page Load Progress 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/PageLoadProgressAdminSettingsTest.php, line 49

Class

PageLoadProgressAdminSettingsTest
Tests for the page_load_progress module's admin settings.

Namespace

Drupal\Tests\page_load_progress\Functional

Code

protected function setUp() {
  parent::setUp();

  // Admin user account only needs a subset of admin permissions.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer site configuration',
    'access administration pages',
    'administer permissions',
    'administer page load progress',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}