function RevisionRevertFormTest::testFormRevisionRevert
Same name in other branches
- 11.x core/tests/Drupal/FunctionalTests/Entity/RevisionRevertFormTest.php \Drupal\FunctionalTests\Entity\RevisionRevertFormTest::testFormRevisionRevert()
Test form revision revert.
File
-
core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionRevertFormTest.php, line 49
Class
- RevisionRevertFormTest
- Tests reverting a revision with revision revert form.
Namespace
Drupal\FunctionalTests\EntityCode
public function testFormRevisionRevert() : void {
foreach (self::providerPageTitle() as $page_title) {
$this->testPageTitle($page_title[0], $page_title[1]);
}
$this->testAccessRevertLatestDefault();
$this->testAccessRevertLatestForwardRevision();
$this->testAccessRevertNonLatest();
$this->testPrepareRevision();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.