You are here

protected function ElementClassFormatterTestBase::setUp in Element Class Formatter 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/ElementClassFormatterTestBase.php, line 99

Class

ElementClassFormatterTestBase
Defines a base class for testing element_class_formatter functionality.

Namespace

Drupal\Tests\element_class_formatter\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->createUser([
    'view test entity',
    'access content',
  ]));
}