This is consistent with UFGroup, CustomGroup, ComtributionPage etc
$params['payment_processor_type_id']['api.required'] = 1;
$params['is_default']['api.default'] = 0;
$params['is_test']['api.default'] = 0;
+ $params['is_active']['api.default'] = TRUE;
$params['domain_id']['api.default'] = CRM_Core_Config::domainID();
$params['financial_account_id']['api.default'] = CRM_Financial_BAO_PaymentProcessor::getDefaultFinancialAccountID();
$params['financial_account_id']['api.required'] = TRUE;
'is_recur' => $params['is_recur'],
'payment_type' => 1,
'payment_instrument_id' => 1,
+ 'is_active' => 1,
);
$this->checkArrayEquals($expectedResult, $result['values'][$result['id']]);
}