public function MigrateEckBundleTest::testEckBundle in Entity Construction Kit (ECK) 8
Tests migrating Eck entity types.
File
- tests/src/ Kernel/ Migrate/ d7/ MigrateEckBundleTest.php, line 31 
Class
- MigrateEckBundleTest
- Tests migration of ECK bundles.
Namespace
Drupal\Tests\eck\Kernel\Migrate\d7Code
public function testEckBundle() {
  $bundle = [
    'type' => 'simple_entity',
    'name' => 'Simple entity',
    'description' => 'Simple entity',
    'langcode' => 'en',
  ];
  $this
    ->assertEckBundle($bundle);
  $bundle = [
    'type' => 'complex_entity',
    'name' => 'Complex entity',
    'description' => 'Complex entity',
    'langcode' => 'en',
  ];
  $this
    ->assertEckBundle($bundle);
  $bundle = [
    'type' => 'another_bundle',
    'name' => 'Another bundle',
    'description' => 'Another bundle',
    'langcode' => 'en',
  ];
  $this
    ->assertEckBundle($bundle);
}