From 1e97777c2c1bfa2956a73c684786b205d68d889a Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 9 Mar 2020 21:25:29 -0400 Subject: [PATCH] hopefully fix failing test --- CRM/Financial/BAO/PaymentProcessor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Financial/BAO/PaymentProcessor.php b/CRM/Financial/BAO/PaymentProcessor.php index b2508ec86534..b577a7fca64a 100644 --- a/CRM/Financial/BAO/PaymentProcessor.php +++ b/CRM/Financial/BAO/PaymentProcessor.php @@ -335,7 +335,7 @@ public static function getAllPaymentProcessors($mode = 'all', $reset = FALSE, $i } } $processors['values'][$processor['id']]['payment_processor_type'] = $processor['payment_processor_type'] = $processors['values'][$processor['id']]['api.payment_processor_type.getsingle']['name']; - $processors['values'][$processor['id']]['object'] = Civi\Payment\System::singleton()->getByProcessor($processor); + $processors['values'][$processor['id']]['object'] = Civi\Payment\System::singleton()->getByProcessor($processors['values'][$processor['id']]); } // Add the pay-later pseudo-processor.