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-20007 Add test to prove that repeatTransaction does not use the P… #9826

Merged
merged 3 commits into from
Feb 13, 2017

Conversation

seamuslee001
Copy link
Contributor

…ayment Procesors Payment Instrument when creating contributions

…ayment Procesors Payment Instrument when creating contributions
@seamuslee001
Copy link
Contributor Author

ping @eileenmcnaughton I think this is what you were looking for right?

'trxn_id' => uniqid(),
'original_contribution_id' => $contribution1,
));
$this->assertEquals(array_search('Debit Card', $paymentInstruments), $contribution2['values'][$contribution2['id']]['payment_instrument_id']);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is what is used in the PaymentProcessor create in the test suite

@seamuslee001
Copy link
Contributor Author

pinging @andrew-cormick-dockery @ineffyble @MrLavaLava You folks may be interested in this.

@eileenmcnaughton
Copy link
Contributor

I've taken a look at this & agree that the test replicates a real issue & the fix is appropriate

@eileenmcnaughton eileenmcnaughton merged commit 263a2d6 into civicrm:master Feb 13, 2017
@seamuslee001 seamuslee001 deleted the CRM-20007 branch February 13, 2017 04:49
monishdeb pushed a commit to monishdeb/civicrm-core that referenced this pull request May 2, 2017
CRM-20007 Add test to prove that repeatTransaction does not use the P…
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.

2 participants