class IdConflictTest in Drupal 10
Same name in this branch
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\IdConflictTest
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/d7/IdConflictTest.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\IdConflictTest
Same name and namespace in other branches
- 8 core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\IdConflictTest
- 9 core/modules/migrate_drupal_ui/tests/src/Functional/d6/IdConflictTest.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\IdConflictTest
Tests Drupal 6 Id Conflict page.
@group migrate_drupal_ui
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase uses MigrationConfigurationTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase uses CreateTestContentEntitiesTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\d6\IdConflictTest
- class \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase uses CreateTestContentEntitiesTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase uses MigrationConfigurationTrait
Expanded class hierarchy of IdConflictTest
File
- core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ IdConflictTest.php, line 12
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d6View source
class IdConflictTest extends MigrateUpgradeExecuteTestBase {
/**
* {@inheritdoc}
*/
protected static $modules = [
'book',
'config_translation',
'content_translation',
'forum',
'language',
'migrate_drupal_ui',
'statistics',
'telephone',
];
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this
->loadFixture($this
->getModulePath('migrate_drupal') . '/tests/fixtures/drupal6.php');
}
/**
* {@inheritdoc}
*/
protected function getSourceBasePath() {
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() {
// Start the upgrade process.
$this
->submitCredentialForm();
$entity_types = [
'block_content',
'menu_link_content',
'file',
'taxonomy_term',
'user',
'comment',
'node',
];
$this
->assertIdConflictForm($entity_types);
}
}