You are here

protected function FieldImportDeleteUninstallUiTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 38

Class

FieldImportDeleteUninstallUiTest
Delete field storages and fields during config synchronization and uninstall module that provides the field type through the UI.

Namespace

Drupal\Tests\field\Functional

Code

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