Merge pull request #5386 from colemanw/CRM-15706
[civicrm-core.git] / tests / phpunit / CiviTest / AuthorizeNet.php
index ada476fee03116460fbcd6515326f70b223b0909..15cd2e16849fa9e1442d874d066b0429a0c641fd 100644 (file)
@@ -9,7 +9,7 @@ class AuthorizeNet extends PHPUnit_Framework_Testcase {
    * a payment processor of type Authorize.net
    * @return CRM_Financial_DAO_PaymentProcessor
    */
-  function create() {
+  public function create() {
 
     $paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
     $paymentParams = array(
@@ -34,12 +34,13 @@ class AuthorizeNet extends PHPUnit_Framework_Testcase {
   /**
    * Helper function to delete a PayPal Pro
    * payment processor
-   * @param  int $id - id of the PayPal Pro payment processor
-   * to be deleted
-   * @return boolean true if payment processor deleted, false otherwise
-   *
+   * @param int $id
+   *   Id of the PayPal Pro payment processor.
+   *   to be deleted
+   * @return bool
+   *   true if payment processor deleted, false otherwise
    */
-  function delete($id) {
+  public function delete($id) {
     $paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
     $paymentProcessor->id = $id;
     if ($paymentProcessor->find(TRUE)) {
@@ -47,7 +48,5 @@ class AuthorizeNet extends PHPUnit_Framework_Testcase {
     }
     return $result;
   }
-}
-
-
 
+}