diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php index b925460..15a585b 100644 --- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php +++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php @@ -31,24 +31,6 @@ protected $sourceDatabase; /** - * A list of install profiles to test are not displayed. - * - * To prevent install profiles from appearing in either the list of modules - * to be upgraded or the list of modules that will not be upgraded, the - * install profiles on the destination are explicitly removed. This list - * specifies the install profiles to test that they are not displayed. - * - * @var array - * - * @see \Drupal\migrate_drupal_ui\Form\MigrateUpgradeForm - */ - protected $installProfiles = [ - 'minimal', - 'standard', - 'testing', - ]; - - /** * {@inheritdoc} */ protected function setUp() { @@ -147,11 +129,13 @@ protected function translatePostValues(array $values) { * An array of modules that will not be upgraded. */ protected function assertUpgradePaths(WebAssert $session, array $available_paths, array $missing_paths) { - // Test that install profiles are not in the available or missing update - // path lists. - foreach ($this->installProfiles as $profile) { - $this->assertNotContains($profile, $available_paths); - $this->assertNotContains($profile, $missing_paths); + // Ensure that all available/missing are modules and not install profiles. + $system_info = system_get_info('module'); + foreach ($available_paths as $available) { + $this->assertEquals('module', $system_info[$available]['type']); + } + foreach ($missing_paths as $missing) { + $this->assertEquals('module', $system_info[$missing]['type']); } // Test the available migration paths.