function SystemAuthorizeTest::setUp
Same name 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()
- 11.x 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',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.