Tests: Restore themes after block tests - #13205
Conversation
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. |
|
Updated this branch with current trunk and fixed the PHPCS assignment-alignment warning in wpBlockPatternsRegistry.php. Validation: targeted PHPCS passes. The focused PHPUnit file could not run because the local test configuration file is not present. |
|
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. |
Save the incoming stylesheet in block and theme test fixtures and switch back during teardown when it changes. Restore the theme before database rollback so theme-related runtime state and caches do not leak into later tests. Developed in: #13205 Props jonsurrell. See #65893. git-svn-id: https://develop.svn.wordpress.org/trunk@63595 602fd350-edb4-49c9-b593-d223f7449a82
Save the incoming stylesheet in block and theme test fixtures and switch back during teardown when it changes. Restore the theme before database rollback so theme-related runtime state and caches do not leak into later tests. Developed in: WordPress/wordpress-develop#13205 Props jonsurrell. See #65893. Built from https://develop.svn.wordpress.org/trunk@63595 git-svn-id: http://core.svn.wordpress.org/trunk@62771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Summary
Verification
git diff --checkpassed.Trac: https://core.trac.wordpress.org/ticket/65893