You are here

protected function IntegerSprintfFormatterTest::setUp in Range 8

Overrides FormatterTestBase::setUp

File

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

Class

IntegerSprintfFormatterTest
Tests the integer formatter.

Namespace

Drupal\Tests\range\Kernel\Formatter

Code

protected function setUp() : void {
  $this->fieldType = 'range_integer';
  $this->displayType = 'range_integer_sprintf';
  $this->defaultSettings = RangeIntegerSprintfFormatter::defaultSettings();
  parent::setUp();
}