public function DestinationCategoryTest::testD6Categories in Drupal 9
Same name and namespace in other branches
- 8 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\migrateCode
public function testD6Categories() {
$migrations = $this
->drupal6Migrations();
$this
->assertArrayHasKey('d6_node:page', $migrations);
$this
->assertCategories($migrations);
}