protected function FileMediaFormatterTestBase::setUp in Drupal 8
Same name and namespace in other branches
- 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() {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'view test entity',
]));
}