You are here

protected function PageLoadProgressAdminSettingsFormTest::setUp in Page Load Progress 8

Overrides BrowserTestBase::setUp

File

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

Class

PageLoadProgressAdminSettingsFormTest
Tests for the page_load_progress module.

Namespace

Drupal\Tests\page_load_progress\Functional

Code

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

  // Privileged user should only have the page_load_progress permissions.
  $this->privilegedUser = $this
    ->drupalCreateUser([
    'administer page load progress',
  ]);
  $this
    ->drupalLogin($this->privilegedUser);
}