function DestinationCategoryTest::testD7Categories
Same name in other branches
- 9 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD7Categories()
- 10 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD7Categories()
- 11.x core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::testD7Categories()
Tests that all D7 migrations are tagged as either Configuration or Content.
File
-
core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ DestinationCategoryTest.php, line 62
Class
- DestinationCategoryTest
- Tests that all migrations are tagged as either content or configuration.
Namespace
Drupal\Tests\migrate_drupal\Kernel\Plugin\migrateCode
public function testD7Categories() {
$migrations = $this->drupal7Migrations();
$this->assertArrayHasKey('d7_node:page', $migrations);
$this->assertCategories($migrations);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.