9 calls to WorkspaceTestUtilities::switchToWorkspace() in Drupal 9
- 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 - Tests 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 - Tests switching workspace via the switcher block and admin page.
- WorkspaceTest::testDeleteWorkspaceWithExistingContent in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceTest.php - Verifies that a workspace with existing content may be deleted.
- WorkspaceTest::testWorkspaceManagePage in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceTest.php - Tests the manage workspace page.