mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
cs: Second part - ignore test/app
subdirectory.
This commit is contained in:
@@ -235,9 +235,9 @@ class ParticipationControllerTest extends WebTestCase
|
||||
$this->personsIdsCache = array_merge(
|
||||
$this->personsIdsCache,
|
||||
$event->getParticipations()->map(
|
||||
function ($p) { return $p->getPerson()->getId(); }
|
||||
)
|
||||
->toArray()
|
||||
function ($p) { return $p->getPerson()->getId(); }
|
||||
)
|
||||
->toArray()
|
||||
);
|
||||
// get some random people
|
||||
$person1 = $this->getRandomPerson();
|
||||
@@ -476,8 +476,7 @@ class ParticipationControllerTest extends WebTestCase
|
||||
protected function getRandomEventWithMultipleParticipations(
|
||||
$centerName = 'Center A',
|
||||
$circleName = 'social'
|
||||
)
|
||||
{
|
||||
) {
|
||||
$event = $this->getRandomEvent($centerName, $circleName);
|
||||
|
||||
return $event->getParticipations()->count() > 1 ?
|
||||
|
Reference in New Issue
Block a user