[wp-trac] [WordPress Trac] #38264: Tests: Uploads aren't deleted after running individual tests
WordPress Trac
noreply at wordpress.org
Thu Sep 28 03:38:06 UTC 2017
#38264: Tests: Uploads aren't deleted after running individual tests
-------------------------------------+------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+------------------
Changes (by desrosj):
* version: => 4.4
Comment:
@atanasangelovdev Thanks for the patch! It works as advertised.
I think deleting the post is fine. I looked around at tests already
committed. The REST API tests do a really good job of deleting posts after
each test or test class, and `Tests_Comment_WpAllowComment` also deletes
posts after.
I also think fixing `Tests_Post_Thumbnail_Template` in this patch is fine.
Feel free to update your patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38264#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list