Skip to content

Commit

Permalink
CRM-19964 Changed assertion text
Browse files Browse the repository at this point in the history
----------------------------------------
* CRM-19964: Event registration creates contribution without line item
  https://issues.civicrm.org/jira/browse/CRM-19964
  • Loading branch information
Edzelopez committed Feb 8, 2017
1 parent c91b1cc commit 3747988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function testOnlineRegNoPrice() {
),
));
$contribution = $this->callAPISuccess('Contribution', 'get', array('invoice_id' => '57adc34957a29171948e8643ce906332'));
$this->assertEquals($contribution['count'], '0', "Contribution should be created for zero fee event registration.");
$this->assertEquals($contribution['count'], '0', "Contribution should not be created for zero fee event registration when no price field selected.");
}

}

0 comments on commit 3747988

Please sign in to comment.