You are here

protected function Upgrade7Test::getEntityCountsIncremental in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\Upgrade7Test::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/d7/Upgrade7Test.php, line 121

Class

Upgrade7Test
Tests Drupal 7 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d7

Code

protected function getEntityCountsIncremental() {
  $counts = $this
    ->getEntityCounts();
  $counts['block_content'] = 2;
  $counts['comment'] = 5;
  $counts['file'] = 4;
  $counts['menu_link_content'] = 13;
  $counts['node'] = 8;
  $counts['taxonomy_term'] = 26;
  $counts['user'] = 5;
  return $counts;
}