You are here

protected function UpdatePostUpdateTest::doSelectionTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()
  2. 9 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateTest::doSelectionTest()

Tests the selection page.

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\UpdateSystem

Code

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>');
}