You are here

protected function MigrateUpgradeAddToCartTest::getEntityCounts in Commerce Migrate 8.2

Same name in this branch
  1. 8.2 modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::getEntityCounts()
  2. 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
  1. 3.1.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeAddToCartTest::getEntityCounts()
  2. 3.0.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\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/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php, line 147

Class

MigrateUpgradeAddToCartTest
Tests adding a product to the cart after a full migration.

Namespace

Drupal\Tests\commerce_migrate_commerce\Functional\commerce1

Code

protected function getEntityCounts() {
  return [];
}