function OptionsFloatFieldImportTest::setUp
Same name in other branches
- 9 core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php \Drupal\Tests\options\Functional\OptionsFloatFieldImportTest::setUp()
- 8.9.x core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php \Drupal\Tests\options\Functional\OptionsFloatFieldImportTest::setUp()
- 10 core/modules/options/tests/src/Functional/OptionsFloatFieldImportTest.php \Drupal\Tests\options\Functional\OptionsFloatFieldImportTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ options/ tests/ src/ Functional/ OptionsFloatFieldImportTest.php, line 37
Class
- OptionsFloatFieldImportTest
- Tests option fields can be updated and created through config synchronization.
Namespace
Drupal\Tests\options\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create test user.
$admin_user = $this->drupalCreateUser([
'synchronize configuration',
'access content',
'access administration pages',
'administer site configuration',
'administer content types',
'administer nodes',
'bypass node access',
'administer node fields',
'administer node display',
]);
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.