IdConflictTest.php in Drupal 9
File
core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php
View source
<?php
namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
class IdConflictTest extends MigrateUpgradeExecuteTestBase {
protected static $modules = [
'aggregator',
'book',
'config_translation',
'content_translation',
'forum',
'language',
'migrate_drupal_ui',
'statistics',
'telephone',
'migrate_drupal_multilingual',
];
protected function setUp() : void {
parent::setUp();
$this
->loadFixture($this
->getModulePath('migrate_drupal') . '/tests/fixtures/drupal7.php');
}
protected function getSourceBasePath() {
return __DIR__ . '/files';
}
protected function getEntityCounts() {
}
protected function getEntityCountsIncremental() {
}
protected function getAvailablePaths() {
}
protected function getMissingPaths() {
}
public function testIdConflictForm() {
$this
->submitCredentialForm();
$entity_types = [
'block_content',
'menu_link_content',
'file',
'taxonomy_term',
'user',
'comment',
'node',
];
$this
->assertIdConflictForm($entity_types);
}
}