You are here

protected function MigrationConfigEntityTest::setUp in Migrate Plus 8.5

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/MigrationConfigEntityTest.php \Drupal\Tests\migrate_plus\Kernel\MigrationConfigEntityTest::setUp()
  2. 8.3 tests/src/Kernel/MigrationConfigEntityTest.php \Drupal\Tests\migrate_plus\Kernel\MigrationConfigEntityTest::setUp()
  3. 8.4 tests/src/Kernel/MigrationConfigEntityTest.php \Drupal\Tests\migrate_plus\Kernel\MigrationConfigEntityTest::setUp()

Overrides MigrateTestBase::setUp

File

tests/src/Kernel/MigrationConfigEntityTest.php, line 40

Class

MigrationConfigEntityTest
Test migration config entity discovery.

Namespace

Drupal\Tests\migrate_plus\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->pluginManager = \Drupal::service('plugin.manager.migration');
  $this
    ->installConfig('migrate_plus');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installSchema('system', [
    'key_value',
    'key_value_expire',
  ]);
}