ContentModerationResaveTest::$modules

Same name in other branches
  1. 10 core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php \Drupal\Tests\content_moderation\Kernel\ContentModerationResaveTest::modules
  2. 11.x core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php \Drupal\Tests\content_moderation\Kernel\ContentModerationResaveTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/content_moderation/tests/src/Kernel/ContentModerationResaveTest.php, line 21

Class

ContentModerationResaveTest
Tests Content Moderation with entities that get re-saved automatically.

Namespace

Drupal\Tests\content_moderation\Kernel

Code

protected static $modules = [
    // Make sure the test module is listed first as module weights do not apply
    // for kernel tests.
    
    /* @see \content_moderation_test_resave_install() */
'content_moderation_test_resave',
    'content_moderation',
    'entity_test',
    'user',
    'workflows',
];

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