From: Eileen McNaughton Date: Tue, 21 Jul 2015 08:56:10 +0000 (+1200) Subject: further test fix - ensure test processors can be loaded by ID X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5cd2f5ea2bcd3d39b64c4cc7d07d07e964b4e556;p=civicrm-core.git further test fix - ensure test processors can be loaded by ID --- 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); }