You are here

public function DefaultContentModerationStateRevisionUpdateTest::testNoEntitiesUnderModeration in Drupal 8

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