NoMultilingualReviewPageTestBase.php

Same filename in other branches
  1. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
  2. 10 core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
  3. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

File

core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php

View source
<?php

namespace Drupal\Tests\migrate_drupal_ui\Functional;


/**
 * Tests the upgrade review form without translations.
 */
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();
    }

}

Classes

Title Deprecated Summary
NoMultilingualReviewPageTestBase Tests the upgrade review form without translations.

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