protected function MigrateMediaTestBase::assertReviewPage in Media Migration 8
Helper method to assert the text on the 'Upgrade analysis report' page.
This method is removed from Drupal core 9.1.x, but we need it for BC.
Parameters
\Drupal\Tests\WebAssert $session: The web-assert session.
array $available_paths: An array of modules that will be upgraded.
array $missing_paths: An array of modules that will not be upgraded.
Overrides MigrateUpgradeTestBase::assertReviewPage
1 call to MigrateMediaTestBase::assertReviewPage()
- MigrateMediaTestBase::assertMigrateUpgradeViaUi in tests/
src/ Functional/ MigrateMediaTestBase.php - Executes the upgrade process by the UI and asserts basic expectations.
File
- tests/
src/ Functional/ MigrateMediaTestBase.php, line 601
Class
- MigrateMediaTestBase
- Provides a base class for testing media migration via the UI.
Namespace
Drupal\Tests\media_migration\FunctionalCode
protected function assertReviewPage(WebAssert $session, array $available_paths = NULL, array $missing_paths = NULL) {
if (is_callable('parent::assertReviewPage')) {
parent::assertReviewPage($session, $available_paths, $missing_paths);
return;
}
parent::assertReviewForm($available_paths, $missing_paths);
}