[REF][PHP8.2] Fix PHP8.2 creation of dynamic properties in the elavon tests and Payme...
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 15 Jan 2023 20:13:35 +0000 (20:13 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Sun, 15 Jan 2023 20:13:35 +0000 (20:13 +0000)
ext/elavon/CRM/Core/Payment/Elavon.php
ext/elavon/tests/phpunit/CRM/Core/Payment/ElavonTest.php

index 32f6039b61da15bb4bf7c8cd5b3e5d03b5c17167..3615ccf621b63bee76bc4e3504c9f0df5f491a2a 100644 (file)
@@ -27,6 +27,13 @@ use Civi\Payment\Exception\PaymentProcessorException;
  */
 class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
 
+  /**
+   * Payment Processor Mode
+   *   either test or live
+   * @var string
+   */
+  protected $_mode;
+
   /**
    * Constructor.
    *
index c6a785d390c4b550b38d01108e3d92df62455fa4..76ca53526e9bcf0543d72f8fc5440989d5de5880 100644 (file)
@@ -25,6 +25,18 @@ class CRM_Core_Payment_ElavonTest extends \PHPUnit\Framework\TestCase implements
   use \Civi\Test\GuzzleTestTrait;
   use \Civi\Test\Api3TestTrait;
 
+  /**
+   * Instance of CRM_Core_Payment_Elavon|null
+   * @var CRM_Core_Payment_Elavon
+   */
+  protected $processor;
+
+  /**
+   * Created Object Ids
+   * @var array
+   */
+  public $ids;
+
   /**
    * Setup used when HeadlessInterface is implemented.
    *