protected function MigrateUpgradeAddToCartTest::getEntityCounts in Commerce Migrate 8.2
Same name in this branch
- 8.2 modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::getEntityCounts()
- 8.2 modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeAddToCartTest::getEntityCounts()
Same name and namespace in other branches
- 3.1.x modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::getEntityCounts()
- 3.0.x modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::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.
Overrides MigrateUpgradeTestBase::getEntityCounts
File
- modules/
ubercart/ tests/ src/ Functional/ uc6/ MigrateUpgradeAddToCartTest.php, line 151
Class
- MigrateUpgradeAddToCartTest
- Tests adding a product to the cart after a full migration.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Functional\uc6Code
protected function getEntityCounts() {
return [];
}