You are here

protected function MigrateUpgradeAddToCartTest::getSourceBasePath 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::getSourceBasePath()
  2. 8.2 modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeAddToCartTest::getSourceBasePath()
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::getSourceBasePath()
  2. 3.0.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeAddToCartTest::getSourceBasePath()

Gets the source base path for the concrete test.

Return value

string The source base path.

Overrides MigrateUpgradeTestBase::getSourceBasePath

1 call to MigrateUpgradeAddToCartTest::getSourceBasePath()
MigrateUpgradeAddToCartTest::testMigrateUpgrade in modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php
Executes all steps of migrations upgrade.

File

modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php, line 140

Class

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

Namespace

Drupal\Tests\commerce_migrate_commerce\Functional\commerce1

Code

protected function getSourceBasePath() {
  return __DIR__ . '/files';
}