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

Unit test fixes #11659

Merged
merged 1 commit into from
Feb 8, 2018
Merged

Unit test fixes #11659

merged 1 commit into from
Feb 8, 2018

Conversation

monishdeb
Copy link
Member

@monishdeb monishdeb commented Feb 8, 2018

Overview

This PR fixes two of the UT failures:

  1. CRM_Contribute_Form_ContributionTest::testReSubmitSaleTaxAlteredAmount with data set #0 ('.')
    Failed asserting that '1000.00' matches expected 2000.

  2. CRM_Contribute_Form_ContributionTest::testReSubmitSaleTaxAlteredAmount with data set CRM-11926 Improve error message on APi failure to include DB error message #1 (',')
    Failed asserting that '1000.00' matches expected 2000.

Occurred after #11461 was merged, which is a bit strange that those 2 failures doesn't get picked up on its test build

@monishdeb
Copy link
Member Author

ping @eileenmcnaughton

@mattwire
Copy link
Contributor

mattwire commented Feb 8, 2018

@monishdeb @eileenmcnaughton Agree with this change - it restores behaviour from before #11461 but incorporates changes from #11461 too... if that makes sense!

@eileenmcnaughton
Copy link
Contributor

merging based on @mattwire analysis

@eileenmcnaughton eileenmcnaughton merged commit adfb80c into civicrm:master Feb 8, 2018
@mlutfy mlutfy added this to the 4.7.31 milestone Feb 9, 2018
@monishdeb monishdeb deleted the ut-fix branch February 26, 2018 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants