function UpdatePostUpdateTest::doSelectionTest
Same name in other branches
- 8.9.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()
- 10 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()
- 11.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()
Overrides UpdatePathTestTrait::doSelectionTest
File
-
core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePostUpdateTest.php, line 67
Class
- UpdatePostUpdateTest
- Tests hook_post_update().
Namespace
Drupal\Tests\system\Functional\UpdateSystemCode
protected function doSelectionTest() {
// Ensure that normal and post_update updates are merged together on the
// selection page.
$this->assertSession()
->responseContains('<ul><li>8001 - Normal update_N() function.</li><li>First update.</li><li>Second update.</li><li>Test0 update.</li><li>Test1 update.</li><li>Testing batch processing in post updates update.</li></ul>');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.