public function StoreTest::testStore in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/StoreTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\StoreTest::testStore()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/StoreTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\StoreTest::testStore()
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/StoreTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\StoreTest::testStore()
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/StoreTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\StoreTest::testStore()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/StoreTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\StoreTest::testStore()
Test store migration.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ StoreTest.php, line 40
Class
- StoreTest
- Tests store migration.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
public function testStore() {
$this
->assertStoreEntity(1, "Quark's", 'quark@example.com', 'USD', 'online', '1', TRUE);
$store = Store::load(1);
$address = $store
->getAddress();
$this
->assertAddressItem($address, 'CA', NULL, 'Deep Space 9', NULL, '9999', NULL, '47 The Promenade', 'Lower Level', NULL, NULL, NULL, NULL);
}