Skip to content

Commit

Permalink
Merge pull request #181 from cultuurnet/update-number-of-selectable-e…
Browse files Browse the repository at this point in the history
…vents-on-zuil

Update CheckInDeviceService.php, heighten max events for zuilen
  • Loading branch information
brusselsregular authored Dec 5, 2023
2 parents fca7700 + 8b528e8 commit 3901c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CheckInDevice/CheckInDeviceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions test/CheckInDevice/CheckInDeviceServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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
Expand Down

0 comments on commit 3901c8e

Please sign in to comment.