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-19273 Fix in the usage of insertedLines and added test #9998

Merged
merged 1 commit into from
Mar 15, 2017

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 15, 2017

This is a resubmission of code in #9621 after my review. All my changes have been to the unit tests, I kept the original change.

I have verified the bug is replicable through the UI & fixed by this. It is also replicable in the test & fixed by this.

The code being changed is not nice code, however, the change is constrained to a very specific function which is demonstrably broken.

I spent quite a bit of time on the test. I did some stylistic fixes to make it match other tests more and tried to remove the test's reliance on deleting the default price sets. However, I would up in a can of worms as we are pretty immature on our testing of event forms. So, settling for how it is.

Adding merge on pass


@eileenmcnaughton eileenmcnaughton merged commit 90c3f7e into civicrm:master Mar 15, 2017
@eileenmcnaughton eileenmcnaughton deleted the part_fee branch March 15, 2017 21:09
monishdeb pushed a commit to monishdeb/civicrm-core that referenced this pull request May 2, 2017
CRM-19273 Fix in the usage of insertedLines and added test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants