Skip to content

Commit

Permalink
Merge pull request #26414 from braders/php8.2-ReportTemplateTest
Browse files Browse the repository at this point in the history
[REF][PHP8.2] Sort out dynamic properties in api_v3_ReportTemplateTest
  • Loading branch information
colemanw authored Jun 2, 2023
2 parents 68dd174 + c3f8b26 commit 35a1d26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/phpunit/api/v3/ReportTemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase {

protected $aclGroupID = NULL;

/**
* @var int
*/
protected $activityID;

/**
* Our group reports use an alter so transaction cleanup won't work.
*
Expand Down Expand Up @@ -1149,7 +1154,6 @@ public function testDeferredRevenueReport(): void {
* @throws \Civi\API\Exception\UnauthorizedException
*/
public function testReportsCustomDataOrderBy($template) {
$this->entity = 'Contact';
$this->createCustomGroupWithFieldOfType();
$this->callAPISuccess('report_template', 'getrows', [
'report_id' => $template,
Expand Down

0 comments on commit 35a1d26

Please sign in to comment.