function MigrateDrupalUpdateTest::testSourceFeedRequired

Same name in other branches
  1. 8.9.x 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\Functional

Code

public function testSourceFeedRequired() {
    $this->assertTrue(\Drupal::moduleHandler()->moduleExists('migrate_drupal_multilingual'));
    // Run updates.
    $this->runUpdates();
    $this->assertFalse(\Drupal::moduleHandler()->moduleExists('migrate_drupal_multilingual'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.