You are here

protected function Upgrade6Test::getEntityCountsIncremental in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCountsIncremental()

Gets expected number of entities per entity after incremental migration.

Return value

int[] An array of expected counts keyed by entity type ID.

Overrides MigrateUpgradeTestBase::getEntityCountsIncremental

File

core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php, line 124

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

Code

protected function getEntityCountsIncremental() {
  $counts = $this
    ->getEntityCounts();
  $counts['block_content'] = 3;
  $counts['comment'] = 9;
  $counts['entity_view_display'] = 58;
  $counts['entity_view_mode'] = 14;
  $counts['file'] = 8;
  $counts['menu_link_content'] = 11;
  $counts['node'] = 19;
  $counts['taxonomy_term'] = 16;
  $counts['user'] = 8;
  $counts['view'] = 16;
  return $counts;
}