function MigrateUpgradeTestBase::getEntityCounts
Same name in other branches
- 9 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::getEntityCounts()
- 11.x 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.
1 call to MigrateUpgradeTestBase::getEntityCounts()
- MigrateUpgradeExecuteTestBase::testMigrateUpgradeExecute in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeExecuteTestBase.php - Executes all steps of migrations upgrade.
6 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.
- IdConflictTest::getEntityCounts in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ IdConflictTest.php - Gets the expected number of entities per entity type after migration.
- MultilingualReviewPageTestBase::getEntityCounts in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MultilingualReviewPageTestBase.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.
- Upgrade6Test::getEntityCounts in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ Upgrade6Test.php - Gets the expected number of entities per entity type after migration.
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php, line 142
Class
- MigrateUpgradeTestBase
- Provides a base class for testing migration upgrades in the UI.
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalCode
protected abstract function getEntityCounts();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.