You are here

protected function DecimalSprintfFormatterTest::setUp in Range 8

Overrides FormatterTestBase::setUp

File

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

Class

DecimalSprintfFormatterTest
Tests the decimal formatter.

Namespace

Drupal\Tests\range\Kernel\Formatter

Code

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