-
-
Notifications
You must be signed in to change notification settings - Fork 817
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-20946, use line total of line item to store in financial item table #10726
Conversation
@colemanw / @eileenmcnaughton can you please review? |
I feel like we have been adding a lot of unit testing covering that function, and the fact this continues to pass unit tests gives me a lot of confidence ... you know where this is going don't you..... if you add a unit test I think this is OK to merge. |
@eileenmcnaughton I have added unit test 338a3c3 |
Looks like editing the xml dataset had some flow on effects... |
---------------------------------------- * CRM-20946: Wrong entries in financial table when contribution is cancelled https://issues.civicrm.org/jira/browse/CRM-20946
b6a03e4
to
bd3034b
Compare
@eileenmcnaughton yup forgot to cleanup those newly added contacts in xml. It's fixed now and tests build passes. |
OK - this looks good to me - the change is the variable passed when deciding if it is a negative or positive transaction and the unit test gives me confidence that this part won't regress again when we do further tweaking |
https://issues.civicrm.org/jira/browse/CRM-20946