You are here

protected function RangeFieldValidationTest::setUp in Range 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/RangeFieldValidationTest.php, line 20

Class

RangeFieldValidationTest
Tests range field validation.

Namespace

Drupal\Tests\range\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->createContentType();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    "create {$this->bundle} content",
  ]));
}