function NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()
  2. 10 core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()
  3. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()

Tests the review page when content_translation is enabled.

Overrides MultilingualReviewPageTestBase::testMigrateUpgradeReviewPage

3 methods override NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()
NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage in core/modules/rdf/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php
Tests that RDF is displayed in the will be upgraded list.
NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage in core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php
Tests that Color is displayed in the will be upgraded list.
ReviewPageTest::testMigrateUpgradeReviewPage in core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php
Tests the review page.

File

core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php, line 13

Class

NoMultilingualReviewPageTestBase
Tests the upgrade review form without translations.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

public function testMigrateUpgradeReviewPage() {
    $this->prepare();
    // Start the upgrade process.
    $this->submitCredentialForm();
    $session = $this->assertSession();
    $this->submitForm([], 'I acknowledge I may lose data. Continue anyway.');
    $session->statusCodeEquals(200);
    // Test the upgrade paths.
    $this->assertReviewForm();
}

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