function UpdatePostUpdateTest::doSelectionTest

Same name in other branches
  1. 9 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()
  2. 8.9.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()
  3. 10 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 70

Class

UpdatePostUpdateTest
Tests hook_post_update().

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

protected function doSelectionTest() : void {
    // 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.