You are here

protected function JSTranslationTest::setUp in Drupal 10

File

core/modules/ckeditor5/tests/src/FunctionalJavascript/JSTranslationTest.php, line 32

Class

JSTranslationTest
Tests for CKEditor 5 plugins using Drupal's translation system.

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

protected function setUp() : void {
  parent::setUp();

  // Create a sample media entity to be embedded.
  $this
    ->createMediaType('image', [
    'id' => 'image',
    'label' => 'Image',
  ]);
}