You are here

protected function FieldImportDeleteUninstallUiTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php \Drupal\Tests\field\Functional\FieldImportDeleteUninstallUiTest::setUp()
  2. 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 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() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'synchronize configuration',
  ]));
}