You are here

abstract class MediaFunctionalTestBase in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php \Drupal\Tests\media\Functional\MediaFunctionalTestBase
  2. 9 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php \Drupal\Tests\media\Functional\MediaFunctionalTestBase

Base class for Media functional tests.

Hierarchy

Expanded class hierarchy of MediaFunctionalTestBase

3 files declare their use of MediaFunctionalTestBase
MediaThumbnailFormatterTest.php in core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
OEmbedFieldWidgetTest.php in core/modules/media/tests/src/Functional/FieldWidget/OEmbedFieldWidgetTest.php
OEmbedFormatterTest.php in core/modules/media/tests/src/Functional/FieldFormatter/OEmbedFormatterTest.php

File

core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php, line 11

Namespace

Drupal\Tests\media\Functional
View source
abstract class MediaFunctionalTestBase extends BrowserTestBase {
  use MediaFunctionalTestTrait;
  use MediaTypeCreationTrait;

  /**
   * Modules to enable.
   *
   * @var array
   */
  protected static $modules = [
    'system',
    'node',
    'field_ui',
    'views_ui',
    'media',
    'media_test_source',
  ];

}

Members