protected function SystemAuthorizeTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php \Drupal\Tests\system\Functional\System\SystemAuthorizeTest::setUp()
- 10 core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php \Drupal\Tests\system\Functional\System\SystemAuthorizeTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Functional/ System/ SystemAuthorizeTest.php, line 26
Class
- SystemAuthorizeTest
- Tests the authorize.php script and related API.
Namespace
Drupal\Tests\system\Functional\SystemCode
protected function setUp() {
parent::setUp();
// Create an administrator user.
$this
->drupalLogin($this
->drupalCreateUser([
'administer software updates',
]));
}