From c3f8b26b08b10d300f03f45f309cbc78bec24ec2 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Fri, 2 Jun 2023 17:50:59 +0100 Subject: [PATCH] [REF][PHP8.2] Sort out dynamic properties in api_v3_ReportTemplateTest --- tests/phpunit/api/v3/ReportTemplateTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/ReportTemplateTest.php b/tests/phpunit/api/v3/ReportTemplateTest.php index fb378c74b1..c85c11ec5c 100644 --- a/tests/phpunit/api/v3/ReportTemplateTest.php +++ b/tests/phpunit/api/v3/ReportTemplateTest.php @@ -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. * @@ -1149,7 +1154,6 @@ class api_v3_ReportTemplateTest extends CiviUnitTestCase { * @throws \Civi\API\Exception\UnauthorizedException */ public function testReportsCustomDataOrderBy($template) { - $this->entity = 'Contact'; $this->createCustomGroupWithFieldOfType(); $this->callAPISuccess('report_template', 'getrows', [ 'report_id' => $template, -- 2.25.1