function RowTest::executeMigrationImport

Executes a migration import for the given migration definition.

Parameters

array $definition: The migration definition.

1 call to RowTest::executeMigrationImport()
RowTest::testRowDestinations in core/modules/migrate/tests/src/Kernel/RowTest.php
Tests the destination properties of the Row class.

File

core/modules/migrate/tests/src/Kernel/RowTest.php, line 147

Class

RowTest
Tests the Row class.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function executeMigrationImport(array $definition) : void {
  $migration = $this->migrationManager
    ->createStubMigration($definition);
  (new MigrateExecutable($migration))->import();
}

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