diff --git a/src/CheckInDevice/CheckInDeviceService.php b/src/CheckInDevice/CheckInDeviceService.php index a825cdfb..23819b50 100644 --- a/src/CheckInDevice/CheckInDeviceService.php +++ b/src/CheckInDevice/CheckInDeviceService.php @@ -106,7 +106,7 @@ public function availableActivities() $searchOptions->startDate = $beginningOfToday->getTimestamp(); $searchOptions->endDate = $in3Days->getTimestamp(); $searchOptions->sort = 'permanent desc,availableto asc'; - $searchOptions->max = 20; + $searchOptions->max = 100; $result = $this->getUitpasService()->searchEvents($searchOptions); diff --git a/test/CheckInDevice/CheckInDeviceServiceTest.php b/test/CheckInDevice/CheckInDeviceServiceTest.php index 013de7de..657b350e 100644 --- a/test/CheckInDevice/CheckInDeviceServiceTest.php +++ b/test/CheckInDevice/CheckInDeviceServiceTest.php @@ -56,7 +56,7 @@ public function setUp() /** * @test */ - public function it_retrieves_maximum_20_activities_occurring_today_and_the_following_3_days() + public function it_retrieves_maximum_100_activities_occurring_today_and_the_following_3_days() { $activity1 = new \CultureFeed_Uitpas_Event_CultureEvent(); $activity1->cdbid = '123'; @@ -80,7 +80,7 @@ public function it_retrieves_maximum_20_activities_occurring_today_and_the_follo $expectedSearchOptions = new \CultureFeed_Uitpas_Event_Query_SearchEventsOptions(); $expectedSearchOptions->balieConsumerKey = $this->counterConsumerKey; $expectedSearchOptions->sort = 'permanent desc,availableto asc'; - $expectedSearchOptions->max = 20; + $expectedSearchOptions->max = 100; $expectedSearchOptions->startDate = DateTimeImmutable::createFromFormat( DateTime::ATOM, $expectedSearchStartDate