[REF][PHP8.2] Remove unused id property
authorBradley Taylor <hello@brad-taylor.co.uk>
Wed, 8 Nov 2023 20:15:52 +0000 (20:15 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Wed, 8 Nov 2023 20:15:52 +0000 (20:15 +0000)
tests/phpunit/CRM/Core/Payment/ProcessorFormTest.php

index d358f271679cad945e9ed451753103b0314b391c..9db3d52a3546ce318dc133cb3df71956e4f9e35c 100644 (file)
@@ -169,10 +169,8 @@ class CRM_Core_Payment_ProcessorFormTest extends CiviUnitTestCase {
    * indicates whether the billing block can be hidden, or not.
    */
   public function checkPaymentProcessorWithProfile($processorClass, $case): bool {
-    $whichProcessor = $case . 'ProcessorID';
     $profileID = $this->ids['UFGroup'][$case . '_billing'];
     $processor = new $processorClass();
-    $processor->id = $this->$whichProcessor;
 
     $missingBillingFields = [];