function Upgrade7Test::testUpgradeAndIncremental

Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\Upgrade7Test::testUpgradeAndIncremental()
  2. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\Upgrade7Test::testUpgradeAndIncremental()

Executes all steps of migrations upgrade.

File

core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php, line 227

Class

Upgrade7Test
Tests Drupal 7 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d7

Code

public function testUpgradeAndIncremental() : void {
    // Perform upgrade followed by an incremental upgrade.
    $this->doUpgradeAndIncremental();
    // Ensure a migrated user can log in.
    $this->assertUserLogIn(2, 'a password');
    $this->assertFollowUpMigrationResults();
    $this->assertEntityRevisionsCount('node', 19);
    $this->assertEmailsSent();
    $this->assertLogError();
}

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