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