protected function MigrateUpgradeFormStepsTest::assertFirstForm in Drupal 9
Same name and namespace in other branches
- 8 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.
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 131
Class
- MigrateUpgradeFormStepsTest
- Tests the flow of the Migrate Drupal UI form.
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalCode
protected function assertFirstForm(WebAssert $session, $expected) {
$paths = [
'',
'/incremental',
'/credentials',
'/idconflict',
'/review',
];
foreach ($paths as $path) {
$this
->drupalGet('/upgrade' . $path);
$session
->addressEquals($expected);
}
}