function MediaRevisionTest::setUp
Same name in other branches
- 11.x core/modules/media/tests/src/Functional/MediaRevisionTest.php \Drupal\Tests\media\Functional\MediaRevisionTest::setUp()
Overrides MediaFunctionalTestTrait::setUp
File
-
core/
modules/ media/ tests/ src/ Functional/ MediaRevisionTest.php, line 30
Class
- MediaRevisionTest
- Tests the revisions of media entities.
Namespace
Drupal\Tests\media\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->createMediaType('test', [
'id' => 'test',
'label' => 'test',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.