Adjust test to work with actual workflow + minor fix of handler logic

This commit is contained in:
2024-08-28 14:27:27 +02:00
committed by Julien Fastré
parent cb446edd18
commit 2e69d2df90
3 changed files with 76 additions and 98 deletions

View File

@@ -38,7 +38,7 @@ class EntityWorkflow implements TrackCreationInterface, TrackUpdateInterface
/**
* @var Collection<int, \Chill\MainBundle\Entity\Workflow\EntityWorkflowComment>
*/
#[ORM\OneToMany(targetEntity: EntityWorkflowComment::class, mappedBy: 'entityWorkflow', orphanRemoval: true)]
#[ORM\OneToMany(mappedBy: 'entityWorkflow', targetEntity: EntityWorkflowComment::class, orphanRemoval: true)]
private Collection $comments;
#[ORM\Id]