From 5cd2f5ea2bcd3d39b64c4cc7d07d07e964b4e556 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 21 Jul 2015 20:56:10 +1200 Subject: [PATCH] further test fix - ensure test processors can be loaded by ID --- Civi/Payment/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Payment/System.php b/Civi/Payment/System.php index 2e69ad907c..7a19fb1092 100644 --- a/Civi/Payment/System.php +++ b/Civi/Payment/System.php @@ -78,7 +78,7 @@ class System { * @throws \CiviCRM_API3_Exception */ public function getById($id) { - $processor = civicrm_api3('payment_processor', 'getsingle', array('id' => $id)); + $processor = civicrm_api3('payment_processor', 'getsingle', array('id' => $id, 'is_test' => NULL)); return self::getByProcessor($processor); } -- 2.25.1