diff --git a/tests/phpunit/api/v3/ContributionTest.php b/tests/phpunit/api/v3/ContributionTest.php index 5d92cff0a495..692748e41730 100644 --- a/tests/phpunit/api/v3/ContributionTest.php +++ b/tests/phpunit/api/v3/ContributionTest.php @@ -2083,9 +2083,9 @@ public function testRepeatTransactionPassedInFinancialType() { 'line_total' => '100.00', 'unit_price' => '100.00', 'financial_type_id' => 2, + 'contribution_type_id' => 2, ) ); - $lineItem2 = $this->callAPISuccess('line_item', 'get', array_merge($lineItemParams, array( 'entity_id' => $originalContribution['id'] + 1, ))); @@ -2133,6 +2133,7 @@ public function testRepeatTransactionUpdatedFinancialType() { 'line_total' => '100.00', 'unit_price' => '100.00', 'financial_type_id' => 2, + 'contribution_type_id' => 2, ) );