mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-19 21:15:23 +00:00
The tests use two images that were deleted on teardown and recreated on setup for every single test. This appears to be unnecessary, as the files can instead only be recreated if they are missing, and deleted after the test run is complete. This commit reduces ~200 redundant file copying operations to ~5 when running this test class. Follow-up to [38832], [48291], [54424]. See #55652. Built from https://develop.svn.wordpress.org/trunk@54428 git-svn-id: http://core.svn.wordpress.org/trunk@53987 1a063a9b-81f0-0310-95a4-ce76da25c4cd