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: improve deletion of test data #2473
Comments
@kevinwhoffman Actually, I am confused with this issue behavior. Because if a user selects Please let me know your thoughts on this. |
Here's my understanding of what @Benunc is asking to delete when
Acceptance criteria have been updated accordingly. |
@kakshak There are 2 queries that need modified. Add a meta query with This query runs whenever This query runs whenever |
Issue Overview
Currently deleting the test data at Donations > Tools > Data (tab) deletes donations made when give is in test mode, but not donations made with the test gateway in live mode.
Expected Behavior
Test donations of all types should be deleted.
Current Behavior
Only donations that are made in test mode are deleted.
Possible Solution
Add a check for test gateway during the deletion process.
Related to this, it would be nice to "wipe the slate clean" of only donation data and NOT delete the forms. For when (for example) you want to delete all data but leave forms.
Steps to Reproduce (for bugs)
Acceptance Criteria
Delete Test Donations
is selected, it deletes all donations where_give_payment_mode
===test
(wheretest
indicates any donation made while in Test Mode)Delete Test Donations
is selected, it also deletes all donations where_give_payment_gateway
===manual
(wheremanual
indicates a donation through the Test Donation gateway).Deletes all donations made in Test Mode and all donations made through the Test Donation gateway in Live Mode.
Delete Test Donors and Donations
is selected.The text was updated successfully, but these errors were encountered: