You are here

public function MigrateEckTypeTest::testEckEntityType in Entity Construction Kit (ECK) 8

Tests migrating Eck entity types.

File

tests/src/Kernel/Migrate/d7/MigrateEckTypeTest.php, line 28

Class

MigrateEckTypeTest
Tests migration of ECK entity types.

Namespace

Drupal\Tests\eck\Kernel\Migrate\d7

Code

public function testEckEntityType() {
  $type = [
    'id' => 'simple_entity',
    'label' => 'Simple entity',
    'langcode' => 'en',
  ];
  $this
    ->assertEckEntityType($type);
  $type = [
    'id' => 'complex_entity',
    'label' => 'Complex entity',
    'langcode' => 'en',
  ];
  $this
    ->assertEckEntityType($type);
}