abstract class MediaFunctionalTestBase in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php \Drupal\Tests\media\Functional\MediaFunctionalTestBase
- 9 core/modules/media/tests/src/Functional/MediaFunctionalTestBase.php \Drupal\Tests\media\Functional\MediaFunctionalTestBase
Base class for Media functional tests.
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\media\Functional\MediaFunctionalTestBase uses MediaFunctionalTestTrait, MediaTypeCreationTrait
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\FunctionalView 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',
];
}