Tests: Restore Ajax hooks for each test - #13191
Conversation
|
Refreshed with current Validation passed: The prior one-off CI timeout had no assertion failure. Fresh CI has started and will provide matrix coverage; local validation was targeted. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Register core Ajax callbacks during each test setup so restoring the shared hook snapshot cannot leave later tests without their required callbacks. Remove the automatic update checks from admin_init during each setup as well. Developed in: #13191 Props jonsurrell. See #65893. git-svn-id: https://develop.svn.wordpress.org/trunk@63593 602fd350-edb4-49c9-b593-d223f7449a82
Register core Ajax callbacks during each test setup so restoring the shared hook snapshot cannot leave later tests without their required callbacks. Remove the automatic update checks from admin_init during each setup as well. Developed in: WordPress/wordpress-develop#13191 Props jonsurrell. See #65893. Built from https://develop.svn.wordpress.org/trunk@63593 git-svn-id: http://core.svn.wordpress.org/trunk@62769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Summary
Verification
git diff --checkpassed.Trac: https://core.trac.wordpress.org/ticket/65893