function FieldImportDeleteUninstallUiTest::setUp

Same name in other branches
  1. 9 core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()
  2. 8.9.x core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()
  3. 10 core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php, line 40

Class

FieldImportDeleteUninstallUiTest
Tests deleting field storage when a module in uninstalled through the UI.

Namespace

Drupal\Tests\field\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalLogin($this->drupalCreateUser([
        'synchronize configuration',
    ]));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.