Skip to content

Commit

Permalink
Add check to ensure only 3 rows
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Aug 28, 2019
1 parent fde1821 commit 0f62ef9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/phpunit/CRM/Event/BAO/ChangeFeeSelectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ public function testPartialPaymentEntries() {
$lineItem = CRM_Price_BAO_LineItem::getLineItems($this->participantID, 'participant');
CRM_Price_BAO_LineItem::changeFeeSelections($priceSetParams, $this->_participantId, 'participant', $this->_contributionId, $this->_feeBlock, $lineItem);
$actualResults = $this->callAPISuccess('EntityFinancialTrxn', 'get', ['sequential' => 1, 'entity_table' => 'civicrm_financial_item'])['values'];
$this->assertCount(3, $actualResults);
$expectedResults = [
[
'id' => 2,
Expand Down

0 comments on commit 0f62ef9

Please sign in to comment.