Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-19964 Event registration creates contribution without line item #9774

Merged
merged 5 commits into from
Feb 14, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
CRM-19964 Changed assertion text
----------------------------------------
* 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
commit 374798866adfb936af3ee86e3e622ddccc48753a
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.");
}

}