mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix data provider which randomly generate invalid data in test
This commit is contained in:
parent
38712de462
commit
6a54316f46
@ -555,7 +555,8 @@ class AccompanyingCourseApiControllerTest extends WebTestCase
|
||||
|
||||
$personIds = $em->createQuery("SELECT p.id FROM ".
|
||||
Person::class." p ".
|
||||
" WHERE p.center = :center")
|
||||
" WHERE p.center = :center ".
|
||||
" AND SIZE(p.accompanyingPeriodParticipations) > 0 ")
|
||||
->setParameter('center', $center)
|
||||
->setMaxResults($maxResults)
|
||||
->getScalarResult();
|
||||
|
Loading…
x
Reference in New Issue
Block a user