function MigrateUpgradeFormStepsTest::assertFirstForm
Same name in other branches
- 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeFormStepsTest::assertFirstForm()
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeFormStepsTest::assertFirstForm()
- 11.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeFormStepsTest.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeFormStepsTest::assertFirstForm()
Helper to test that a path goes to the Overview form.
@internal
Parameters
\Drupal\Tests\WebAssert $session: The WebAssert object.
string $expected: The expected response text.
1 call to MigrateUpgradeFormStepsTest::assertFirstForm()
- MigrateUpgradeFormStepsTest::testMigrateUpgradeReviewPage in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeFormStepsTest.php - Tests the flow of the Migrate Drupal UI form.
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeFormStepsTest.php, line 133
Class
- MigrateUpgradeFormStepsTest
- Tests the flow of the Migrate Drupal UI form.
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalCode
protected function assertFirstForm(WebAssert $session, string $expected) : void {
$paths = [
'',
'/incremental',
'/credentials',
'/idconflict',
'/review',
];
foreach ($paths as $path) {
$this->drupalGet('/upgrade' . $path);
$session->addressEquals($expected);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.