function Upgrade6Test::testUpgradeAndIncremental

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

Executes all steps of migrations upgrade.

File

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

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

Code

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

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