You are here

abstract protected function MigrateUpgradeTestBase::getEntityCounts in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()
  2. 9 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()

Gets the expected number of entities per entity type after migration.

Return value

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

3 methods override MigrateUpgradeTestBase::getEntityCounts()
IdConflictTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php
Gets the expected number of entities per entity type after migration.
NodeClassicTest::getEntityCounts in core/modules/migrate_drupal_ui/tests/src/Functional/d6/NodeClassicTest.php
Gets the expected number of entities per entity type after migration.
Upgrade7Test::getEntityCounts in core/modules/rdf/tests/src/Functional/Migrate/Upgrade7Test.php
Gets the expected number of entities per entity type after migration.

File

core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php, line 143

Class

MigrateUpgradeTestBase
Provides a base class for testing migration upgrades in the UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

protected abstract function getEntityCounts();