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

Flush ContributionRecur static cache when flushing processors #13962

Merged
merged 1 commit into from
Apr 5, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Ensures a (new) static cache is flushed when creating a processor, mostly useful for unit testing

Before

Cache not flushed

After

Cache flushed

Technical Details

When creating a processor in a unit test it may not be available to use when creating
a recurring in the same test without flushing the static cache here

Comments

This hit our WMF unit tests

When creating a processor in a unit test it may not be available to use when creating
a recurring in the same test without flushing the static cache here
@civibot
Copy link

civibot bot commented Apr 5, 2019

(Standard links)

@civibot civibot bot added the master label Apr 5, 2019
@eileenmcnaughton
Copy link
Contributor Author

unrelated fail

@eileenmcnaughton eileenmcnaughton merged commit 2d590b4 into civicrm:master Apr 5, 2019
@eileenmcnaughton eileenmcnaughton deleted the test_fix_recur branch April 5, 2019 02:15
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