You are here

protected function FileMediaFormatterTestBase::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php \Drupal\Tests\file\Functional\Formatter\FileMediaFormatterTestBase::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php, line 29

Class

FileMediaFormatterTestBase
Provides methods specifically for testing File module's media formatter's.

Namespace

Drupal\Tests\file\Functional\Formatter

Code

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