You are here

public function UpgradeStatusUiTest::setUp in Upgrade Status 8

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/UpgradeStatusUiTest.php \Drupal\Tests\upgrade_status\Functional\UpgradeStatusUiTest::setUp()
  2. 8.2 tests/src/Functional/UpgradeStatusUiTest.php \Drupal\Tests\upgrade_status\Functional\UpgradeStatusUiTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UpgradeStatusUiTest.php, line 17

Class

UpgradeStatusUiTest
Tests the UI before and after running scans.

Namespace

Drupal\Tests\upgrade_status\Functional

Code

public function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer software updates',
  ]));
}