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

[NFC] Convert Payment Processor ID field to payment processor in even… #24256

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

seamuslee001
Copy link
Contributor

…t create in tests

Overview

@eileenmcnaughton what I found was that you were passing in the key of payment_processor_id https://github.com/civicrm/civicrm-core/blob/master/tests/phpunit/CRM/Event/Form/Registration/ConfirmTest.php#L475 when the field name in this case is payment_processor and it expects an array to be passed in not a string so was figured this is the easiest place to handle it

Before

testOnlineRegNoPrice test fails on notice error in php8.1

After

Test passes in php8.1

ping @eileenmcnaughton @demeritcowboy

@civibot
Copy link

civibot bot commented Aug 14, 2022

(Standard links)

@civibot civibot bot added the 5.53 label Aug 14, 2022
@seamuslee001 seamuslee001 merged commit 2dbcd8a into civicrm:5.53 Aug 15, 2022
@seamuslee001 seamuslee001 deleted the 5.53 branch August 15, 2022 01:05
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