protected function RangeFormatterUiTestBase::setUp in Range 8
Overrides BrowserTestBase::setUp
5 calls to RangeFormatterUiTestBase::setUp()
- RangeDecimalFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeDecimalFormatterUiTest.php - RangeDecimalSprintfFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeDecimalSprintfFormatterUiTest.php - RangeIntegerFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeIntegerFormatterUiTest.php - RangeIntegerSprintfFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeIntegerSprintfFormatterUiTest.php - RangeUnformattedFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeUnformattedFormatterUiTest.php
5 methods override RangeFormatterUiTestBase::setUp()
- RangeDecimalFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeDecimalFormatterUiTest.php - RangeDecimalSprintfFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeDecimalSprintfFormatterUiTest.php - RangeIntegerFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeIntegerFormatterUiTest.php - RangeIntegerSprintfFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeIntegerSprintfFormatterUiTest.php - RangeUnformattedFormatterUiTest::setUp in tests/
src/ Functional/ Formatter/ RangeUnformattedFormatterUiTest.php
File
- tests/
src/ Functional/ Formatter/ RangeFormatterUiTestBase.php, line 60
Class
- RangeFormatterUiTestBase
- Base class for testing formatter UI.
Namespace
Drupal\Tests\range\Functional\FormatterCode
protected function setUp() : void {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'administer entity_test content',
'administer entity_test display',
]));
$this->fieldName = $this
->getFieldName($this->fieldType);
$this
->createField($this->fieldType);
$this->session = $this
->assertSession();
}