public function DestinationCategoryTest::testMagento2Categories in Commerce Migrate 8.2
Same name in this branch
- 8.2 modules/magento/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Plugin\migrate\DestinationCategoryTest::testMagento2Categories()
- 8.2 modules/shopify/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\commerce_migrate_shopify\Kernel\Plugin\migrate\DestinationCategoryTest::testMagento2Categories()
Same name and namespace in other branches
- 3.1.x modules/magento/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Plugin\migrate\DestinationCategoryTest::testMagento2Categories()
- 3.0.x modules/magento/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Plugin\migrate\DestinationCategoryTest::testMagento2Categories()
Tests Commerce 1 migrations are tagged as either Configuration or Content.
File
- modules/
magento/ tests/ src/ Kernel/ Plugin/ migrate/ DestinationCategoryTest.php, line 39
Class
- DestinationCategoryTest
- Tests that all migrations are tagged as either content or configuration.
Namespace
Drupal\Tests\commerce_migrate_magento\Kernel\Plugin\migrateCode
public function testMagento2Categories() {
$migrations = \Drupal::service('plugin.manager.migration')
->createInstancesByTag('Magento 2');
$this
->assertArrayHasKey('magento2_product_variation', $migrations);
$this
->assertCategories($migrations);
}