PHP Class Neos\Flow\Tests\Functional\Persistence\Doctrine\AggregateTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$commentRepository Neos\Flow\Tests\Functional\Persistence\Fixtures\CommentRepository;
$postRepository Neos\Flow\Tests\Functional\Persistence\Fixtures\PostRepository;
$testablePersistenceEnabled boolean

Public Methods

Method Description
entitiesWithOwnRepositoryAreNotRemovedIfRelatedRootEntityIsRemoved ( )
entitiesWithinAggregateAreRemovedAutomaticallyWithItsRootEntity ( )
setUp ( ) : void
valueObjectsAreNotCascadeRemovedWhenARelatedEntityIsDeleted ( ) This test fixes FLOW-296 but is only affecting MySQL.

Method Details

entitiesWithOwnRepositoryAreNotRemovedIfRelatedRootEntityIsRemoved() public method

entitiesWithinAggregateAreRemovedAutomaticallyWithItsRootEntity() public method

setUp() public method

public setUp ( ) : void
return void

valueObjectsAreNotCascadeRemovedWhenARelatedEntityIsDeleted() public method

This test fixes FLOW-296 but is only affecting MySQL.

Property Details

$commentRepository protected property

protected CommentRepository;,Neos\Flow\Tests\Functional\Persistence\Fixtures $commentRepository
return Neos\Flow\Tests\Functional\Persistence\Fixtures\CommentRepository;

$postRepository protected property

protected PostRepository;,Neos\Flow\Tests\Functional\Persistence\Fixtures $postRepository
return Neos\Flow\Tests\Functional\Persistence\Fixtures\PostRepository;

$testablePersistenceEnabled protected static property

protected static bool $testablePersistenceEnabled
return boolean