From 528735384b55dcb1f3a7ecc232c8523c246ba3cb Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 20 Jan 2016 15:52:58 +0530 Subject: [PATCH] --CRM-16259, added comment block --- tests/phpunit/api/v3/PaymentTest.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/api/v3/PaymentTest.php b/tests/phpunit/api/v3/PaymentTest.php index cceecd38fa..bb37907804 100644 --- a/tests/phpunit/api/v3/PaymentTest.php +++ b/tests/phpunit/api/v3/PaymentTest.php @@ -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']); -- 2.25.1