public function UserTest::testUser in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/magento/tests/src/Kernel/Migrate/magento2/UserTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\UserTest::testUser()
- 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/UserTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\UserTest::testUser()
Test attribute migration.
File
- modules/
magento/ tests/ src/ Kernel/ Migrate/ magento2/ UserTest.php, line 53
Class
- UserTest
- Tests user migration.
Namespace
Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2Code
public function testUser() {
$this
->assertUserEntity(1, 'Veronica Costello', 'roni_cost@example.com', NULL, '0', '', 'en', '', NULL, [
'authenticated',
]);
$this
->assertUserEntity(2, 'Tui Song', 'tui@example.com', NULL, '0', '', 'en', '', NULL, [
'authenticated',
]);
/** @var \Drupal\user\UserInterface $user */
$this
->assertNull(User::load(3));
}