function Upgrade7Test::testMigrateUpgradeExecute
Executes all steps of migrations upgrade.
Overrides MigrateUpgradeExecuteTestBase::testMigrateUpgradeExecute
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7Test.php, line 222
Class
- Upgrade7Test
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d7Code
public function testMigrateUpgradeExecute() {
parent::testMigrateUpgradeExecute();
// Ensure migrated users can log in.
$user = User::load(2);
$user->passRaw = 'a password';
$this->drupalLogin($user);
$this->assertFollowUpMigrationResults();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.