MediaFunctionalTestBase.php

Same filename in other branches
  1. 9 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
  2. 8.9.x core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php
  3. 10 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php

Namespace

Drupal\Tests\media\Functional

File

core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php

View source
<?php

declare (strict_types=1);
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;
    
    /**
     * {@inheritdoc}
     */
    protected static $modules = [
        'system',
        'node',
        'field_ui',
        'views_ui',
        'media',
        'media_test_source',
    ];

}

Classes

Title Deprecated Summary
MediaFunctionalTestBase Base class for Media functional tests.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.