function RevisionDeleteFormTest::testAccessDelete
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Entity/RevisionDeleteFormTest.php \Drupal\FunctionalTests\Entity\RevisionDeleteFormTest::testAccessDelete()
Test that revisions can and can't be deleted in various scenarios.
File
-
core/
tests/ Drupal/ FunctionalTests/ Entity/ RevisionDeleteFormTest.php, line 130
Class
- RevisionDeleteFormTest
- Tests deleting a revision with revision delete form.
Namespace
Drupal\FunctionalTests\EntityCode
public function testAccessDelete() : void {
$this->testAccessDeleteLatestForwardRevision();
$this->testAccessDeleteDefault();
$this->testAccessDeleteNonLatest();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.