public function WorkspacesContentModerationStateTest::testGetCurrentUserId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::testGetCurrentUserId()
- 10 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::testGetCurrentUserId()
Tests the legacy method used as the default entity owner.
@group legacy @expectedDeprecation The ::getCurrentUserId method is deprecated in 8.6.x and will be removed before 9.0.0.
Overrides ContentModerationStateTest::testGetCurrentUserId
File
- core/
modules/ content_moderation/ tests/ src/ Kernel/ WorkspacesContentModerationStateTest.php, line 194
Class
- WorkspacesContentModerationStateTest
- Tests that Workspaces and Content Moderation work together properly.
Namespace
Drupal\Tests\content_moderation\KernelCode
public function testGetCurrentUserId() {
// This test does not assert anything that can be workspace-specific.
$this
->markTestSkipped();
}