public function ViewModesTest::testMigration in Commerce Migrate 8.2
Same name in this branch
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/ViewModesTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ViewModesTest::testMigration()
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/ViewModesTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\ViewModesTest::testMigration()
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/ViewModesTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ViewModesTest::testMigration()
Same name and namespace in other branches
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/ViewModesTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ViewModesTest::testMigration()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/ViewModesTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ViewModesTest::testMigration()
Tests migration of D6 view mode to node and commerce_product entities.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ ViewModesTest.php, line 63
Class
- ViewModesTest
- Tests migration of Ubercart 7 view modes.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
public function testMigration() {
$this
->assertEntity('comment.full', 'Full', 'comment');
$this
->assertEntity('node.teaser', 'Teaser', 'node');
$this
->assertEntity('node.full', 'Full', 'node');
$this
->assertEntity('commerce_product.full', 'Full', 'commerce_product');
$this
->assertEntity('commerce_product.teaser', 'Teaser', 'commerce_product');
$this
->assertEntity('taxonomy_term.full', 'Full', 'taxonomy_term');
}