[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1

WordPress Trac noreply at wordpress.org
Mon Aug 22 19:50:29 UTC 2022


#55652: Test tool and unit test improvements for 6.1
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"53920" 53920]:
 {{{
 #!CommitTicketReference repository="" revision="53920"
 Tests: Clean up test image before performing assertions in image tests.

 This makes sure there are no leftover images in case of a test failure.

 Applies to: `test_wp_calculate_image_srcset_no_date_uploads()`.

 Includes renaming the `$int` variable to `$int_size` for consistency with
 some other tests.

 Follow-up to [34855], [35412], [35751], [53463].

 See #55652.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:116>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list