public function MigrateUpgradeTestBase::submitCredentialForm in Drupal 10
Same name and namespace in other branches
- 9 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase::submitCredentialForm()
Navigates to the credential form and submits valid credentials.
4 calls to MigrateUpgradeTestBase::submitCredentialForm()
- NodeClassicTest::testNodeClassicUpgrade in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ NodeClassicTest.php - Tests node classic migration via the UI.
- 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.
- Upgrade7Test::testUpgrade in core/
modules/ rdf/ tests/ src/ Functional/ Migrate/ Upgrade7Test.php - Executes all steps of migrations upgrade.
File
- core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeTestBase.php, line 64
Class
- MigrateUpgradeTestBase
- Provides a base class for testing migration upgrades in the UI.
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalCode
public function submitCredentialForm() {
$this
->drupalGet('/upgrade');
$this
->submitForm([], 'Continue');
// Get valid credentials.
$this->edits = $this
->translatePostValues($this
->getCredentials());
// When the Credential form is submitted the migrate map tables are created.
$this
->submitForm($this->edits, 'Review upgrade');
}