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

Fix v3 api payment test to validate on postAssert #20530

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fix v3 api payment test to validate on postAssert

Before

Refund test is passing a random value not a valid payment_id as 'cancelled payment_id'

After

Valid id

Technical Details

This fixes the test that was failing validation & moves the validation to class level

Comments

This fixes the test that was failing validation & moves the validation to class level
@civibot
Copy link

civibot bot commented Jun 7, 2021

(Standard links)

@civibot civibot bot added the master label Jun 7, 2021
@eileenmcnaughton
Copy link
Contributor Author

@monishdeb wanna merge this #20532 - just test fixes to get away from invalid financial set up per #20531

@monishdeb
Copy link
Member

Reviewed the patch, agree with the changes to rely on class to do validation checks. Merging now

@monishdeb monishdeb merged commit 464eb99 into civicrm:master Jun 8, 2021
@eileenmcnaughton eileenmcnaughton deleted the val branch June 8, 2021 07:35
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.

2 participants