mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 06:14:59 +00:00
Use Person::centerHistory
to load fixtures with given center
This commit is contained in:
@@ -39,7 +39,8 @@ final class TimelineAccompanyingPeriodTest extends WebTestCase
|
||||
->from(Person::class, 'p')
|
||||
->join('p.accompanyingPeriodParticipations', 'part')
|
||||
->join('part.accompanyingPeriod', 'period')
|
||||
->join('p.center', 'center')
|
||||
->join('p.centerCurrent', 'cc')
|
||||
->join('cc.center', 'center')
|
||||
->select('p.id')
|
||||
->where($qb->expr()->eq('center.name', ':center'))
|
||||
->setParameter('center', 'Center A')
|
||||
|
Reference in New Issue
Block a user