Make test personMove work for centers

This commit is contained in:
2023-09-07 16:07:23 +02:00
parent 256579af89
commit 94f26df81e
4 changed files with 58 additions and 40 deletions

View File

@@ -203,6 +203,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
/**
* @ORM\OneToMany(targetEntity=PersonCenterHistory::class, mappedBy="person", cascade={"persist"})
* @ORM\OrderBy({"startDate": "ASC", "id": "ASC"})
*
* @var Collection|PersonCenterHistory[]
*/