You are here

15 calls to WorkspaceTestTrait::switchToWorkspace() in Drupal 8

EntityReferenceSupportedNewEntitiesConstraintValidatorTest::testNewEntitiesForbiddenInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/EntityReferenceSupportedNewEntitiesConstraintValidatorTest.php
@covers ::validate
WorkspaceIntegrationTest::assertWorkspaceStatus in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Checks entity load, entity queries and views results for a test scenario.
WorkspaceIntegrationTest::testDisallowedEntityCreateInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests CREATE operations for unsupported entity types.
WorkspaceIntegrationTest::testDisallowedEntityDeleteInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests DELETE operations for unsupported entity types.
WorkspaceIntegrationTest::testDisallowedEntityUpdateInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests UPDATE operations for unsupported entity types.
WorkspaceIntegrationTest::testEntityQueryRelationship in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests the Entity Query relationship API with workspaces.
WorkspaceIntegrationTest::testEntityQueryWithoutConditions in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests entity query overrides without any conditions.
WorkspaceIntegrationTest::testExecuteInWorkspaceContext in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
@covers \Drupal\workspaces\WorkspaceManager::executeInWorkspace
WorkspaceIntegrationTest::testFormCacheForEntityForms in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests that entity forms can be stored in the form cache.
WorkspaceIntegrationTest::testFormCacheForRegularForms in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests that non-entity forms can be stored in the form cache.
WorkspaceIntegrationTest::testPublishWorkspaceDedicatedTableStorage in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Test a deployment with fields in dedicated table storage.
WorkspaceIntegrationTest::testWorkspaceHierarchy in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests entity tracking in workspace descendants.
WorkspaceIntegrationTest::testWorkspaces in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests various scenarios for creating and deploying content in workspaces.
WorkspaceMergerTest::testWorkspaceMerger in core/modules/workspaces/tests/src/Kernel/WorkspaceMergerTest.php
Tests workspace merging.
WorkspacesContentModerationStateTest::setUp in core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php