public function MigrateUpgradeReviewPageTestBase::testMigrateUpgradeReviewPage in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/MigrateUpgradeReviewPageTestBase.php \Drupal\Tests\commerce_migrate\Functional\MigrateUpgradeReviewPageTestBase::testMigrateUpgradeReviewPage()
- 3.0.x tests/src/Functional/MigrateUpgradeReviewPageTestBase.php \Drupal\Tests\commerce_migrate\Functional\MigrateUpgradeReviewPageTestBase::testMigrateUpgradeReviewPage()
Tests the migrate upgrade review form.
Overrides MultilingualReviewPageTestBase::testMigrateUpgradeReviewPage
File
- tests/
src/ Functional/ MigrateUpgradeReviewPageTestBase.php, line 25
Class
- MigrateUpgradeReviewPageTestBase
- Provides a base class for testing the review step of the Upgrade form.
Namespace
Drupal\Tests\commerce_migrate\FunctionalCode
public function testMigrateUpgradeReviewPage() {
$this
->prepare();
// Start the upgrade process.
$this
->drupalGet('/upgrade');
$this
->submitForm([], 'Continue');
// Get valid credentials.
$edits = $this
->translatePostValues($this
->getCredentials());
$this
->submitForm($edits, 'Review upgrade');
// Test the upgrade paths.
$this
->assertReviewForm();
}