function DestinationCategoryTest::testD6Categories

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD6Categories()
  2. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD6Categories()
  3. 10 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD6Categories()

Tests that all D6 migrations are tagged as either Configuration or Content.

File

core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php, line 49

Class

DestinationCategoryTest
Tests that all migrations are tagged as either content or configuration.

Namespace

Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate

Code

public function testD6Categories() : void {
    $migrations = $this->drupal6Migrations();
    $this->assertArrayHasKey('d6_node:page', $migrations);
    $this->assertCategories($migrations);
}

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