function NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage
Same name in this branch
- 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d7\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
Same name in other branches
- 9 core/modules/rdf/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php \Drupal\Tests\rdf\Functional\Migrate\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 9 core/modules/color/tests/src/Functional/Migrate/NoMultilingualReviewPageTest.php \Drupal\Tests\color\Functional\Migrate\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/forum/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/forum/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\forum\Functional\migrate_drupal\d7\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d6/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
- 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d7/NoMultilingualReviewPageTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d7\NoMultilingualReviewPageTest::testMigrateUpgradeReviewPage()
Tests that Forum is displayed in the will be upgraded list.
Overrides NoMultilingualReviewPageTestBase::testMigrateUpgradeReviewPage
File
-
core/
modules/ forum/ tests/ src/ Functional/ migrate_drupal/ d7/ NoMultilingualReviewPageTest.php, line 37
Class
- NoMultilingualReviewPageTest
- Tests Drupal 7 upgrade without translations.
Namespace
Drupal\Tests\forum\Functional\migrate_drupal\d7Code
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);
// Confirm that Forum will be upgraded.
$session->elementExists('xpath', "//td[contains(@class, 'checked') and text() = 'Forum']");
$session->elementNotExists('xpath', "//td[contains(@class, 'error') and text() = 'Forum']");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.