
| Current Path : /var/www/html/konvbav/web/core/modules/migrate_drupal_ui/tests/src/Functional/d6/ |
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/konvbav/web/core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php |
<?php
declare(strict_types=1);
namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
/**
* Tests Drupal 6 Id Conflict page.
*
* @group migrate_drupal_ui
*/
class IdConflictTest extends MigrateUpgradeExecuteTestBase {
/**
* {@inheritdoc}
*/
protected static $modules = [
'config_translation',
'content_translation',
'language',
'migrate_drupal_ui',
'telephone',
];
/**
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setUp();
$this->loadFixture($this->getModulePath('migrate_drupal') . '/tests/fixtures/drupal6.php');
}
/**
* {@inheritdoc}
*/
protected function getSourceBasePath(): string {
return __DIR__ . '/files';
}
/**
* {@inheritdoc}
*/
protected function getEntityCounts() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getEntityCountsIncremental() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getAvailablePaths() {
return [];
}
/**
* {@inheritdoc}
*/
protected function getMissingPaths() {
return [];
}
/**
* Tests ID Conflict form.
*/
public function testIdConflictForm(): void {
// Start the upgrade process.
$this->submitCredentialForm();
$entity_types = [
'block_content',
'menu_link_content',
'file',
'taxonomy_term',
'user',
'comment',
'node',
];
$this->assertIdConflictForm($entity_types);
}
}