protected function AdminFormTest::setUp in Rename Admin Paths 8.2
Setup admin user.
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ AdminFormTest.php, line 17
Class
- AdminFormTest
- @group tests
Namespace
Drupal\Tests\rename_admin_paths\FunctionalCode
protected function setUp() {
parent::setUp();
$admin = $this
->drupalCreateUser([
'administer modules',
'administer site configuration',
], 'administrator', TRUE);
$this
->drupalLogin($admin);
}