function UpdatePostUpdateExceptionTest::doSelectionTest
Same name in other branches
- 9 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateExceptionTest::doSelectionTest()
- 11.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateExceptionTest::doSelectionTest()
Overrides UpdatePathTestTrait::doSelectionTest
File
-
core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateExceptionTest.php, line 66
Class
- UpdatePostUpdateExceptionTest
- Tests hook_post_update() when there is an exception in a post update.
Namespace
Drupal\Tests\system\Functional\UpdateSystemCode
protected function doSelectionTest() {
$this->assertSession()
->assertEscaped("Post update that throws an exception.");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.