public function MediaTypeTest::setUp in Lightning Media 8.3
Same name and namespace in other branches
- 8.4 tests/src/Kernel/MediaTypeTest.php \Drupal\Tests\lightning_media\Kernel\MediaTypeTest::setUp()
- 8 tests/src/Kernel/MediaTypeTest.php \Drupal\Tests\lightning_media\Kernel\MediaTypeTest::setUp()
- 8.2 tests/src/Kernel/MediaTypeTest.php \Drupal\Tests\lightning_media\Kernel\MediaTypeTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ MediaTypeTest.php, line 34
Class
- MediaTypeTest
- Tests of API-level Lightning functionality related to media types.
Namespace
Drupal\Tests\lightning_media\KernelCode
public function setUp() {
parent::setUp();
Config::forModule('lightning_media')
->getEntity('field_storage_config', 'media.field_media_in_library')
->save();
}