function UpdatePostUpdateExceptionTest::doSelectionTest

Same name in other branches
  1. 10 core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateExceptionTest::doSelectionTest()
  2. 11.x core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php \Drupal\Tests\system\Functional\UpdateSystem\UpdatePostUpdateExceptionTest::doSelectionTest()

Overrides UpdatePathTestTrait::doSelectionTest

File

core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php, line 64

Class

UpdatePostUpdateExceptionTest
Tests hook_post_update() when there is an exception in a post update.

Namespace

Drupal\Tests\system\Functional\UpdateSystem

Code

protected function doSelectionTest() {
    $this->assertSession()
        ->assertEscaped("Post update that throws an exception.");
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.