mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fix behaviour of CalendarType in Controller and add field users to CalendarType
This commit is contained in:
@@ -107,6 +107,8 @@ final class CalendarTypeTest extends TypeTestCase
|
||||
$this->assertEquals(8, $calendar->getCalendarRange()->getId());
|
||||
$this->assertEquals(9, $calendar->getLocation()->getId());
|
||||
$this->assertEquals(true, $calendar->getSendSMS());
|
||||
$this->assertContains(2, $calendar->getUsers()->map(function (User $u) { return $u->getId(); }));
|
||||
$this->assertContains(3, $calendar->getUsers()->map(function (User $u) { return $u->getId(); }));
|
||||
}
|
||||
|
||||
protected function getExtensions()
|
||||
|
Reference in New Issue
Block a user