You are here

abstract protected function MigrateUpgradeTestBase::getEntityCounts in Migrate Upgrade 8

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

Return value

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

1 call to MigrateUpgradeTestBase::getEntityCounts()
MigrateUpgradeTestBase::testMigrateUpgrade in src/Tests/MigrateUpgradeTestBase.php
Executes all steps of migrations upgrade.
2 methods override MigrateUpgradeTestBase::getEntityCounts()
MigrateUpgrade6Test::getEntityCounts in src/Tests/d6/MigrateUpgrade6Test.php
Gets the expected number of entities per entity type after migration.
MigrateUpgrade7Test::getEntityCounts in src/Tests/d7/MigrateUpgrade7Test.php
Gets the expected number of entities per entity type after migration.

File

src/Tests/MigrateUpgradeTestBase.php, line 162
Contains \Drupal\migrate_upgrade\Tests\MigrateUpgradeTestBase.

Class

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

Namespace

Drupal\migrate_upgrade\Tests

Code

protected abstract function getEntityCounts();