7 calls to WorkspaceTestUtilities::switchToWorkspace() in Drupal 8
- PathWorkspacesTest::testPathAliases in core/
modules/ workspaces/ tests/ src/ Functional/ PathWorkspacesTest.php - Tests path aliases with workspaces.
- PathWorkspacesTest::testPathAliasesUserSwitch in core/
modules/ workspaces/ tests/ src/ Functional/ PathWorkspacesTest.php - Tests path aliases with workspaces and user switching.
- PathWorkspacesTest::testPathAliasesWithTranslation in core/
modules/ workspaces/ tests/ src/ Functional/ PathWorkspacesTest.php - Tests path aliases with workspaces for translatable nodes.
- WorkspaceBypassTest::testBypassOwnWorkspace in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceBypassTest.php - Verifies that a user can edit anything in a workspace they own.
- WorkspaceConcurrentEditingTest::testConcurrentEditing in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceConcurrentEditingTest.php - Test editing a node in multiple workspaces.
- WorkspaceContentModerationIntegrationTest::testModerationInWorkspace in core/
modules/ content_moderation/ tests/ src/ Functional/ WorkspaceContentModerationIntegrationTest.php - Tests moderating nodes in a workspace.
- WorkspaceSwitcherTest::testSwitchingWorkspaces in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceSwitcherTest.php - Test switching workspace via the switcher block and admin page.