protected function UpdatePostUpdateFailingTest::doSelectionTest in Drupal 8
Same name and namespace 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()
Tests the selection page.
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.");
}