You are here

protected function DecimalFormatterTest::setUp in Range 8

Overrides FormatterTestBase::setUp

File

tests/src/Kernel/Formatter/DecimalFormatterTest.php, line 17

Class

DecimalFormatterTest
Tests the decimal formatter.

Namespace

Drupal\Tests\range\Kernel\Formatter

Code

protected function setUp() : void {
  $this->fieldType = 'range_float';
  $this->displayType = 'range_decimal';
  $this->defaultSettings = RangeDecimalFormatter::defaultSettings();
  parent::setUp();
}