'migrate_drupal_ui',
// Will generate an error for a missing source module.
'migration_provider_test',
];
/**
* Test missing source provider.
*
* @dataProvider providerSourceProvider
*/
public function testSourceProvider($path_to_database) { $this->
loadFixture($this->
getModulePath('migrate_drupal'
) .
$path_to_database);
$session =
$this->
assertSession();
// Start the upgrade process.
$this->
submitCredentialForm();
// Ensure we get errors about missing modules.
$session->
pageTextContains('Resolve all issues below to continue the upgrade.'
);
$session->
pageTextContains('The no_source_module plugin must define the source_module property.'
);
// Uninstall the module causing the missing module error messages.