mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-25 16:14:59 +00:00
fix data provider which randomly generate invalid data in test
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user