PHP Class Neos\ContentRepository\Tests\Unit\Domain\Model\WorkspaceTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/neos-development-collection

Méthodes publiques

Méthode Description
aWorkspaceCanBeBasedOnAnotherWorkspace ( )
contextNodePathMatchPatternDoesNotMatchInvalidNodeContextPaths ( $contextNodePath )
contextNodePathMatchPatternMatchesNodeContextPaths ( $contextNodePath )
getNodeCountCallsRepositoryFunction ( )
invalidContextNodePaths ( ) : array
isPersonalWorkspaceChecksIfTheWorkspaceNameStartsWithUser ( )
onInitializationANewlyCreatedWorkspaceCreatesItsOwnRootNode ( )
publishNodeReturnsIfTheCurrentWorkspaceHasNoBaseWorkspace ( )
publishNodeReturnsIfTheTargetWorkspaceIsTheSameAsTheSourceWorkspace ( ) Bug NEOS-1769: Content Collections disappear when publishing to other workspace than "live"
publishNodeWithANodeInTheTargetWorkspaceShouldDoNothing ( )
validContextNodePaths ( ) : array
verifyPublishingTargetWorkspaceDoesNotThrowAnExceptionIfTargetWorkspaceIsABaseWorkspace ( )
verifyPublishingTargetWorkspaceThrowsAnExceptionIfWorkspaceIsNotBasedOnTheSpecifiedWorkspace ( )

Method Details

aWorkspaceCanBeBasedOnAnotherWorkspace() public méthode

contextNodePathMatchPatternDoesNotMatchInvalidNodeContextPaths() public méthode

contextNodePathMatchPatternMatchesNodeContextPaths() public méthode

getNodeCountCallsRepositoryFunction() public méthode

invalidContextNodePaths() public méthode

public invalidContextNodePaths ( ) : array
Résultat array

isPersonalWorkspaceChecksIfTheWorkspaceNameStartsWithUser() public méthode

onInitializationANewlyCreatedWorkspaceCreatesItsOwnRootNode() public méthode

publishNodeReturnsIfTheCurrentWorkspaceHasNoBaseWorkspace() public méthode

publishNodeReturnsIfTheTargetWorkspaceIsTheSameAsTheSourceWorkspace() public méthode

Under certain circumstances, content collection nodes will be deleted when publishing a document to a workspace which is based on another workspace.

publishNodeWithANodeInTheTargetWorkspaceShouldDoNothing() public méthode

validContextNodePaths() public méthode

public validContextNodePaths ( ) : array
Résultat array

verifyPublishingTargetWorkspaceDoesNotThrowAnExceptionIfTargetWorkspaceIsABaseWorkspace() public méthode

verifyPublishingTargetWorkspaceThrowsAnExceptionIfWorkspaceIsNotBasedOnTheSpecifiedWorkspace() public méthode