function Upgrade6Test::testMigrateUpgradeExecute

Executes all steps of migrations upgrade.

Overrides MigrateUpgradeExecuteTestBase::testMigrateUpgradeExecute

File

core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php, line 205

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

Code

public function testMigrateUpgradeExecute() {
    parent::testMigrateUpgradeExecute();
    // Ensure migrated users can log in.
    $user = User::load(2);
    $user->passRaw = 'john.doe_pass';
    $this->drupalLogin($user);
    $this->assertFollowUpMigrationResults();
}

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