function UpdatePostUpdateFailingTest::doSelectionTest
Same name in other branches
- 9 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateFailingTest::doSelectionTest()
- 10 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateFailingTest::doSelectionTest()
- 11.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateFailingTest::doSelectionTest()
Overrides UpdatePathTestTrait::doSelectionTest
File
-
core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateFailingTest.php, line 77
Class
- UpdatePostUpdateFailingTest
- Tests hook_post_update() when there are failing update hooks.
Namespace
Drupal\Tests\system\Functional\UpdateSystemCode
protected function doSelectionTest() {
// First update, should not be run since this module's update hooks fail.
$this->assertRaw('8001 - This update will fail.');
$this->assertRaw('8002 - A further update.');
$this->assertEscaped("First update, should not be run since this module's update hooks fail.");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.