forked from apigee/apigee-client-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove symfony/serializer conflict and bump version
- Loading branch information
1 parent
04d36d2
commit 71fd8eb
Showing
5 changed files
with
22 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ trait ReportDefinitionEntityProviderTrait | |
protected static function getNewReportDefinition(bool $randomData = true): ReportDefinitionInterface | ||
{ | ||
$criteria = new BillingReportCriteria('JANUARY', $randomData ? date('Y') : 2019); | ||
$criteria->groupBy('PACKAGE', 'PRODUCT', 'DEVELOPER')->ratePlanLevels('STANDARD', 'DEVELOPER')->developers('[email protected]'); | ||
$criteria->setGroupBy('PACKAGE', 'PRODUCT', 'DEVELOPER')->setRatePlanLevels('STANDARD', 'DEVELOPER')->setDevelopers('[email protected]'); | ||
$entity = new ReportDefinition([ | ||
'name' => $randomData ? static::randomGenerator()->machineName() : 'PHPUnit', | ||
'description' => $randomData ? static::randomGenerator()->text() : 'test report definition provider', | ||
|
@@ -47,7 +47,7 @@ protected static function getUpdatedReportDefinition(ReportDefinitionInterface $ | |
/** @var \Apigee\Edge\Api\Monetization\Structure\Reports\Criteria\BillingReportCriteria $criteria */ | ||
$criteria = $updated->getCriteria(); | ||
$criteria->setBillingMonth('FEBRUARY'); | ||
$criteria->showSummary(!$criteria->getShowSummary()); | ||
$criteria->setShowSummary(!$criteria->getShowSummary()); | ||
$updated->setCriteria($criteria); | ||
|
||
return $updated; | ||
|