You are here

protected function MediaMigrationTestBase::executeMediaConfigurationMigrations in Media Migration 8

Executes the media configuration migrations (types, fields etc).

2 calls to MediaMigrationTestBase::executeMediaConfigurationMigrations()
MediaMigrationNoImageAltFieldTest::testMediaConfigMigrationWithNoAltField in tests/src/Kernel/Migrate/MediaMigrationNoImageAltFieldTest.php
Tests media migration from a site without field_file_image_alt_text field.
MediaMigrationTestBase::executeMediaMigrations in tests/src/Kernel/Migrate/MediaMigrationTestBase.php
Executes migrations of the media source database.

File

tests/src/Kernel/Migrate/MediaMigrationTestBase.php, line 147

Class

MediaMigrationTestBase
Base class for Media Migration kernel tests.

Namespace

Drupal\Tests\media_migration\Kernel\Migrate

Code

protected function executeMediaConfigurationMigrations() {
  $this
    ->executeMigrations([
    // @todo Every migration that uses the "media_wysiwyg_filter" process
    // plugin should depend on "d7_media_view_modes".
    'd7_media_view_modes',
    'd7_file_entity_type',
    'd7_file_entity_source_field',
    'd7_file_entity_source_field_config',
    'd7_file_entity_formatter',
    'd7_file_entity_widget',
  ]);
}