Skip to content

Make transients deletion test more robust#74

Merged
schlessera merged 2 commits intomainfrom
fix/make-transient-delete-test-more-robust
Oct 12, 2022
Merged

Make transients deletion test more robust#74
schlessera merged 2 commits intomainfrom
fix/make-transient-delete-test-more-robust

Conversation

@schlessera
Copy link
Copy Markdown
Member

Starting with 6.1, WordPress Core adds a wp_global_styles_* transient right after installation.

This has broken the transient deletion test where it tried to deduce the number of transients deleted by transient delete --all.

This PR makes this test more flexible so that it can calculate the number of expected deletions.

@schlessera schlessera requested a review from a team as a code owner October 12, 2022 00:32
@schlessera schlessera added this to the 2.0.10 milestone Oct 12, 2022
@schlessera schlessera added the scope:testing Related to testing label Oct 12, 2022
@schlessera schlessera merged commit 69e0f78 into main Oct 12, 2022
@schlessera schlessera deleted the fix/make-transient-delete-test-more-robust branch October 12, 2022 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant