Skip to content

Commit

Permalink
Fix contribution tests that failed in last run
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Oct 11, 2016
1 parent 258c92c commit 9e6c4b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/phpunit/api/v3/ContributionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,7 @@ public function testRepeatTransactionPassedInFinancialType() {
)));
unset($expectedLineItem['id'], $expectedLineItem['entity_id']);
unset($lineItem2['values'][0]['id'], $lineItem2['values'][0]['entity_id']);
$expectedLineItem['contribution_type_id'] = $lineItem2['values'][0]['contribution_type_id'];
$this->assertEquals($expectedLineItem, $lineItem2['values'][0]);
}

Expand Down Expand Up @@ -2141,6 +2142,7 @@ public function testRepeatTransactionUpdatedFinancialType() {
)));
unset($expectedLineItem['id'], $expectedLineItem['entity_id']);
unset($lineItem2['values'][0]['id'], $lineItem2['values'][0]['entity_id']);
$expectedLineItem['contribution_type_id'] = $lineItem2['values'][0]['contribution_type_id'];
$this->assertEquals($expectedLineItem, $lineItem2['values'][0]);
}

Expand Down

0 comments on commit 9e6c4b1

Please sign in to comment.