function SimpleTestBrowserTest::setUp
Overrides WebTestBase::setUp
File
-
core/
modules/ simpletest/ src/ Tests/ SimpleTestBrowserTest.php, line 23
Class
- SimpleTestBrowserTest
- Tests the WebTestBase internal browser.
Namespace
Drupal\simpletest\TestsCode
protected function setUp() {
parent::setUp();
// Create and log in an admin user.
$this->drupalLogin($this->drupalCreateUser([
'administer unit tests',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.