function NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage

Same name in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()
  2. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()
  3. 10 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

7 methods override NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage()
NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage in core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
Tests that Forum is displayed in the will be upgraded list.
NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage in core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
Tests that Forum is displayed in the will be upgraded list.
NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage in core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php
Tests that Statistics is displayed in the will be upgraded list.
NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage in core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php
Tests that Statistics is displayed in the will be upgraded list.
ReviewPageTest::testMigrateUpgradeReviewPage in core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php
Tests the review page.

... See full list

File

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

Class

NoMultilingualReviewPageTestBase
Tests the upgrade review form without translations.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

public function testMigrateUpgradeReviewPage() : void {
    $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.