public function MigrateDrupalUpdateTest::testSourceFeedRequired in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Functional/MigrateDrupalUpdateTest.php \Drupal\Tests\migrate_drupal\Functional\MigrateDrupalUpdateTest::testSourceFeedRequired()
Tests migrate_drupal_multilingual uninstallation.
See also
migrate_drupal_post_update_uninstall_multilingual()
File
- core/
modules/ migrate_drupal/ tests/ src/ Functional/ MigrateDrupalUpdateTest.php, line 29
Class
- MigrateDrupalUpdateTest
- Tests that migrate_drupal_multilingual is uninstalled.
Namespace
Drupal\Tests\migrate_drupal\FunctionalCode
public function testSourceFeedRequired() {
$this
->assertTrue(\Drupal::moduleHandler()
->moduleExists('migrate_drupal_multilingual'));
// Run updates.
$this
->runUpdates();
$this
->assertFalse(\Drupal::moduleHandler()
->moduleExists('migrate_drupal_multilingual'));
}