[REF][PHP8.2] Declare system property in tests
authorBradley Taylor <hello@brad-taylor.co.uk>
Sat, 21 Jan 2023 20:24:12 +0000 (20:24 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sat, 21 Jan 2023 20:24:12 +0000 (20:24 +0000)
tests/phpunit/CRM/Extension/Manager/PaymentTest.php
tests/phpunit/CRM/Extension/Manager/ReportTest.php
tests/phpunit/CRM/Extension/Manager/SearchTest.php

index 79d71fdd24f074e9bd01a55486932df23d90ac13..d965f225d9a2b3ac99be7be457add92758883cd9 100644 (file)
  */
 class CRM_Extension_Manager_PaymentTest extends CiviUnitTestCase {
 
+  /**
+   * @var CRM_Extension_System
+   */
+  private $system;
+
   public function setUp(): void {
     parent::setUp();
     if (class_exists('test_extension_manager_paymenttest')) {
index be7029c65ff64dc0d1a80017ddfc6c8f1b83139a..0bd742cd111554a80dd85c7440a83e604c4ef955 100644 (file)
@@ -6,6 +6,11 @@
  */
 class CRM_Extension_Manager_ReportTest extends CiviUnitTestCase {
 
+  /**
+   * @var CRM_Extension_System
+   */
+  private $system;
+
   public function setUp(): void {
     parent::setUp();
     //if (class_exists('test_extension_manager_reporttest')) {
index d37ada35f6089f4dd67c16c6d1443951e9a8aa69..6053d64e3d3a189ebda199e3b62a744320c7cc60 100644 (file)
@@ -6,6 +6,11 @@
  */
 class CRM_Extension_Manager_SearchTest extends CiviUnitTestCase {
 
+  /**
+   * @var CRM_Extension_System
+   */
+  private $system;
+
   public function setUp(): void {
     parent::setUp();
     //if (class_exists('test_extension_manager_searchtest')) {