drupal6Migrations example

protected function setUp(): void {
    // Enable all modules.     self::$modules = array_keys($this->coreModuleListDataProvider());
    parent::setUp();
    $this->migrationManager = \Drupal::service('plugin.manager.migration');
  }

  /** * Tests that all D6 migrations are tagged as either Configuration or Content. */
  public function testD6Categories() {
    $migrations = $this->drupal6Migrations();
    $this->assertArrayHasKey('d6_node:page', $migrations);
    $this->assertCategories($migrations);
  }

  /** * Tests that all D7 migrations are tagged as either Configuration or Content. */
  public function testD7Categories() {
    $migrations = $this->drupal7Migrations();
    $this->assertArrayHasKey('d7_node:page', $migrations);
    $this->assertCategories($migrations);

  }
Home | Imprint | This part of the site doesn't use cookies.