API Test Fix
authorJitendra Purohit <jitendra.purohit@webaccessglobal.com>
Tue, 5 Aug 2014 10:09:41 +0000 (15:39 +0530)
committerJitendra Purohit <jitendra.purohit@webaccessglobal.com>
Tue, 5 Aug 2014 10:09:41 +0000 (15:39 +0530)
tests/phpunit/api/v3/ContributionTest.php

index dd95b8ddb10edc6cac10f24a0bcf5b04cb3f8742..e9a8fc886485e542f52f78112d781b8f2a06edf6 100644 (file)
@@ -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,