diff -u b/modules/ubercart/tests/src/Kernel/Migrate/d6/MigrateProfileBillingTest.php b/modules/ubercart/tests/src/Kernel/Migrate/d6/MigrateProfileBillingTest.php --- b/modules/ubercart/tests/src/Kernel/Migrate/d6/MigrateProfileBillingTest.php +++ b/modules/ubercart/tests/src/Kernel/Migrate/d6/MigrateProfileBillingTest.php @@ -44,14 +44,14 @@ * Test profile migration from Drupal 6 to 8. */ public function testProfileBilling() { - $this->assertBillingProfile(1, TRUE, '1492868907', '1493078815'); + $this->assertBillingProfile(1, '3', TRUE, '1492868907', '1493078815'); $profile = Profile::load(1); $address = $profile->get('address')->first()->getValue(); $this->assertAddressField($address, 'US', '', '', NULL, '', NULL, '', '', '', NULL, '', ''); $phone = $profile->get('phone')->getValue(); $this->assertSame([], $phone); - $this->assertBillingProfile(2, TRUE, '1492989920', '1493081092'); + $this->assertBillingProfile(2, '5', TRUE, '1492989920', '1493081092'); $profile = Profile::load(2); $address = $profile->get('address')->first()->getValue(); $this->assertAddressField($address, 'US', 'US-WY', 'World B', NULL, '7654', NULL, '42 View Lane', 'Frogstar', 'Trin', NULL, 'Tragula', 'Perspective Ltd.'); reverted: --- /dev/null +++ a/tests/src/Kernel/d6/Ubercart/ProfileBillingTest.php @@ -0,0 +1,38 @@ +installEntitySchema('profile'); + $this->installConfig('commerce_order'); + $this->executeMigrations([ + 'd6_filter_format', + 'd6_user_role', + 'd6_user', + 'd6_ubercart_billing_profile', + ]); + } + + /** + * Test profile migration from Drupal 7 to 8. + */ + public function testProfile() { + $this->assertBillingProfile(1, TRUE, '1492868907', '1493078815'); + } + +}