abstract class NoMultilingualReviewPageTestBase in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase
- 9 core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase
Tests the upgrade review form without translations.
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase uses MigrationConfigurationTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase uses CreateTestContentEntitiesTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase
- class \Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase uses CreateTestContentEntitiesTrait
- class \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeTestBase uses MigrationConfigurationTrait
Expanded class hierarchy of NoMultilingualReviewPageTestBase
4 files declare their use of NoMultilingualReviewPageTestBase
- NoMultilingualReviewPageTest.php in core/
modules/ rdf/ tests/ src/ Functional/ Migrate/ NoMultilingualReviewPageTest.php - NoMultilingualReviewPageTest.php in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d6/ NoMultilingualReviewPageTest.php - NoMultilingualReviewPageTest.php in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ NoMultilingualReviewPageTest.php - ReviewPageTest.php in core/
modules/ tracker/ tests/ src/ Functional/ Migrate/ ReviewPageTest.php
File
- core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ NoMultilingualReviewPageTestBase.php, line 8
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalView source
abstract class NoMultilingualReviewPageTestBase extends MultilingualReviewPageTestBase {
/**
* Tests the review page when content_translation is enabled.
*/
public function testMigrateUpgradeReviewPage() {
$this
->prepare();
// Start the upgrade process.
$this
->submitCredentialForm();
$session = $this
->assertSession();
$this
->submitForm([], 'I acknowledge I may lose data. Continue anyway.');
$session
->statusCodeEquals(200);
// Test the upgrade paths.
$this
->assertReviewForm();
}
}