protected function Upgrade7Test::getEntityCountsIncremental in Drupal 8
Same name and namespace in other branches
- 9 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 126
Class
- Upgrade7Test
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d7Code
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'] = 25;
$counts['user'] = 5;
return $counts;
}