function MigrationSourceCacheTest::setUp

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/Plugin/source/MigrationSourceCacheTest.php \Drupal\Tests\migrate\Kernel\Plugin\source\MigrationSourceCacheTest::setUp()
  2. 10 core/modules/migrate/tests/src/Kernel/Plugin/source/MigrationSourceCacheTest.php \Drupal\Tests\migrate\Kernel\Plugin\source\MigrationSourceCacheTest::setUp()

Overrides MigrateTestBase::setUp

File

core/modules/migrate/tests/src/Kernel/Plugin/source/MigrationSourceCacheTest.php, line 32

Class

MigrationSourceCacheTest
Test source counts are correctly cached.

Namespace

Drupal\Tests\migrate\Kernel\Plugin\source

Code

protected function setUp() : void {
    parent::setUp();
    $this->migrationPluginManager = $this->container
        ->get('plugin.manager.migration');
}

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