test fixes
[civicrm-core.git] / Civi / Payment / System.php
index 253784f2d7199988d6f907a23c0694eeda633450..5bfa71b2a0e4152ac1387d24000300141324bcaf 100644 (file)
@@ -99,11 +99,11 @@ class System {
    * Flush processors from static cache.
    *
    * This is particularly used for tests.
-   *
    */
   public function flushProcessors() {
     $this->cache = array();
-    \CRM_Financial_BAO_PaymentProcessor::getAllPaymentProcessors(NULL, TRUE);
+    \CRM_Financial_BAO_PaymentProcessor::getAllPaymentProcessors('all', TRUE);
+    \CRM_Financial_BAO_PaymentProcessor::getAllPaymentProcessors('live', TRUE);
     \CRM_Financial_BAO_PaymentProcessor::getAllPaymentProcessors('test', TRUE);
   }