protected function FileMediaFormatterTestBase::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php \Drupal\Tests\file\Functional\Formatter\FileMediaFormatterTestBase::setUp()
- 9 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\FormatterCode
protected function setUp() : void {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'view test entity',
]));
}