You are here

7 calls to ModerationStateTestBase::grantUserPermissionToCreateContentOfType() in Drupal 8

DefaultModerationStateTest::setUp in core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
Sets the test up.
ModerationFormTest::setUp in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
Sets the test up.
ModerationFormTest::testModerationFormSetsRevisionAuthor in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
Tests the revision author is updated when the moderation form is used.
ModerationStateNodeTest::setUp in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
Sets the test up.
ModerationStateNodeTypeTest::testEnablingOnExistingContent in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
Tests enabling moderation on an existing node-type, with content.
ModerationStateNodeTypeTest::testNotModerated in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
A node type without moderation state disabled.
NodeAccessTest::setUp in core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php
Sets the test up.