ModerationFormTest::$usesSuperUserAccessPolicy

Same name in other branches
  1. 11.x core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php \Drupal\Tests\content_moderation\Functional\ModerationFormTest::usesSuperUserAccessPolicy

@todo Remove and fix test to not rely on super user.

Type: usesSuperUserAccessPolicy

Overrides FunctionalTestSetupTrait::$usesSuperUserAccessPolicy

See also

https://www.drupal.org/project/drupal/issues/3437620

File

core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php, line 37

Class

ModerationFormTest
Tests the moderation form, specifically on nodes.

Namespace

Drupal\Tests\content_moderation\Functional

Code

protected bool $usesSuperUserAccessPolicy = TRUE;

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