function DefaultContentModerationStateRevisionUpdateTest::testNoEntitiesUnderModeration

Test the post_update hook when no entity types are being moderated.

File

core/modules/content_moderation/tests/src/Functional/Update/DefaultContentModerationStateRevisionUpdateTest.php, line 56

Class

DefaultContentModerationStateRevisionUpdateTest
Test updating the ContentModerationState entity default revisions.

Namespace

Drupal\Tests\content_moderation\Functional\Update

Code

public function testNoEntitiesUnderModeration() {
    // If any errors occur during the post_update hook, the test case will fail.
    $this->runUpdates();
}

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