From 7fb9d79ec6063f1d0f29c3f603cc2110a20df802 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Tue, 5 Aug 2014 15:39:41 +0530 Subject: [PATCH] API Test Fix --- tests/phpunit/api/v3/ContributionTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/api/v3/ContributionTest.php b/tests/phpunit/api/v3/ContributionTest.php index dd95b8ddb1..e9a8fc8864 100644 --- a/tests/phpunit/api/v3/ContributionTest.php +++ b/tests/phpunit/api/v3/ContributionTest.php @@ -1397,6 +1397,7 @@ class api_v3_ContributionTest extends CiviUnitTestCase { $this->callAPISuccess('line_item', 'create', array( 'entity_id' => $contribution['id'], 'entity_table' => 'civicrm_contribution', + 'contribution_id' => 1, 'price_field_id' => $this->_ids['price_field'][0], 'qty' => 1, 'unit_price' => 20, -- 2.25.1