protected function setUp(): void
{ parent::
setUp();
$this->
loadFixture($this->
getModulePath('forum'
) . '/tests/fixtures/drupal7.php'
);
} /**
* Tests that Forum is displayed in the will be upgraded list.
*/
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']"
);
} /**
* {@inheritdoc}
*/