You are here

protected function EntityClassFormatterTest::setUp in Entity Class Formatter 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/EntityClassFormatterTest.php, line 62

Class

EntityClassFormatterTest
@group entity_class_formatter

Namespace

Drupal\Tests\entity_class_formatter\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalCreateContentType([
    'type' => 'page',
    'name' => 'Basic page',
  ]);
  $account = $this
    ->drupalCreateUser([
    'access content',
  ]);
  $this
    ->drupalLogin($account);
}