Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CheckInDeviceService.php #181

Merged
merged 2 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading