protected function UpdatePostUpdateFailingTest::doSelectionTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Update/UpdatePostUpdateFailingTest.php \Drupal\system\Tests\Update\UpdatePostUpdateFailingTest::doSelectionTest()
Tests the selection page.
Overrides UpdatePathTestBase::doSelectionTest
File
- core/
modules/ system/ src/ Tests/ Update/ UpdatePostUpdateFailingTest.php, line 46 - Contains \Drupal\system\Tests\Update\UpdatePostUpdateFailingTest.
Class
- UpdatePostUpdateFailingTest
- Tests hook_post_update() when there are failing update hooks.
Namespace
Drupal\system\Tests\UpdateCode
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.");
}