You are here

public function NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage in Drupal 10

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

2 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.
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();
}