You are here

protected function UpdatePostUpdateTest::doSelectionTest in Drupal 8

Same name and namespace in other branches
  1. 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 75

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