protected function RangeFieldUiTest::setUp in Range 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ RangeFieldUiTest.php, line 27
Class
- RangeFieldUiTest
- Tests adding range fields and their settings via field UI.
Namespace
Drupal\Tests\range\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'administer content types',
'administer node fields',
'administer node display',
]);
$this
->drupalLogin($this->adminUser);
$this
->drupalPlaceBlock('system_breadcrumb_block');
$this
->createContentType();
}