protected function ConfigInspectorUITest::setUp in Configuration Inspector 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ ConfigInspectorUITest.php, line 27
Class
- ConfigInspectorUITest
- User interface tests for configuration inspector.
Namespace
Drupal\Tests\config_inspector\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this
->drupalPlaceBlock('local_tasks_block');
$permissions = [
'inspect configuration',
];
// Create and login user.
$admin_user = $this
->drupalCreateUser($permissions);
$this
->drupalLogin($admin_user);
}