You are here

public function TestMigrateUpgradeDrushRunner::__construct in Migrate Upgrade 8.3

MigrateUpgradeDrushRunner constructor.

Parameters

\Psr\Log\LoggerInterface $logger: Drush logger compatible with Drupal.

array $options: Drush options parameters.

Overrides MigrateUpgradeDrushRunner::__construct

File

tests/src/Unit/MigrateUpgradeDrushRunnerTest.php, line 191

Class

TestMigrateUpgradeDrushRunner
Test class to expose protected methods.

Namespace

Drupal\Tests\migrate_upgrade\Unit

Code

public function __construct(LoggerInterface $logger, array $options = []) {
  parent::__construct($logger, $options);
  $this->migrationList = [
    'my_previous_migration' => [],
    'my_previous_migration_1' => [],
    'my_previous_migration_2' => [],
    'derivable_migration:derivitive_1' => [],
    'derivable_migration:derivitive_2' => [],
    'required_dependency' => [],
    'optional_dependency' => [],
  ];
}