
| Current Path : /var/www/html/store1/web/core/modules/user/tests/src/Kernel/Migrate/d7/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store1/web/core/modules/user/tests/src/Kernel/Migrate/d7/UserMigrationClassTest.php |
<?php
namespace Drupal\Tests\user\Kernel\Migrate\d7;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
/**
* Tests the user migration plugin class.
*
* @group user
*/
class UserMigrationClassTest extends MigrateDrupal7TestBase {
/**
* Tests that the profile value process is added to the pipeline.
*
* Ensures profile fields are merged into the d7_profile_values migration's
* process pipeline.
*/
public function testClass() {
$migration = $this->getMigration('d7_user');
/** @var \Drupal\migrate\Plugin\MigrationInterface[] $migrations */
$this->assertSame('d7_user', $migration->id());
$process = $migration->getProcess();
$this->assertSame('field_file', $process['field_file'][0]['source']);
}
}