--CRM-16259, added comment block
authorPradeep Nayak <pradpnayak@gmail.com>
Wed, 20 Jan 2016 10:22:58 +0000 (15:52 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Wed, 20 Jan 2016 10:22:58 +0000 (15:52 +0530)
tests/phpunit/api/v3/PaymentTest.php

index cceecd38fa02ce950054a18d67c92bea7858c8f4..bb379078040020546b7e1510cc636ad479692c57 100644 (file)
@@ -98,7 +98,7 @@ class api_v3_PaymentTest extends CiviUnitTestCase {
   }
 
   /**
-   * Test Get.
+   * Test Get Payment api.
    */
   public function testGetPayment() {
     $p = array(
@@ -128,8 +128,10 @@ class api_v3_PaymentTest extends CiviUnitTestCase {
     ));
   }
 
+  /**
+   * Test create payment api with no line item in params
+   */
   public function testCreatePaymentNoLineItems() {
-
     $params = array(
       'contact_id' => $this->_individualId,
       'receive_date' => '20120511',
@@ -189,8 +191,10 @@ class api_v3_PaymentTest extends CiviUnitTestCase {
     ));
   }
 
+  /**
+   * Test create payment api with line item in params
+   */
   public function testCreatePaymentLineItems() {
-
     // Create priceset & price fields
     $this->createPriceSet();
 
@@ -253,6 +257,9 @@ class api_v3_PaymentTest extends CiviUnitTestCase {
     ));
   }
 
+  /**
+   * function to delete data
+   */
   public function cleanUpAfterPriceSets() {
     $this->quickCleanUpFinancialEntities();
     $this->contactDelete($this->_ids['contact']);