You are here

abstract class NoMultilingualReviewPageTestBase 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
  2. 9 core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase

Tests the upgrade review form without translations.

Hierarchy

Expanded class hierarchy of NoMultilingualReviewPageTestBase

4 files declare their use of NoMultilingualReviewPageTestBase
NoMultilingualReviewPageTest.php in core/modules/rdf/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php
NoMultilingualReviewPageTest.php in core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
NoMultilingualReviewPageTest.php in core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualReviewPageTest.php
ReviewPageTest.php in core/modules/tracker/tests/src/Functional/Migrate/ReviewPageTest.php

File

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

Namespace

Drupal\Tests\migrate_drupal_ui\Functional
View source
abstract class NoMultilingualReviewPageTestBase extends MultilingualReviewPageTestBase {

  /**
   * Tests the review page when content_translation is enabled.
   */
  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();
  }

}

Members