You are here

MediaFunctionalTestBase.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php

File

core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
View source
<?php

namespace Drupal\Tests\media\Functional;

use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\media\Traits\MediaTypeCreationTrait;

/**
 * Base class for Media functional tests.
 */
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',
  ];

}

Classes

Namesort descending Description
MediaFunctionalTestBase Base class for Media functional tests.