[wp-trac] [WordPress Trac] #57171: unit test for wp_filesize()

WordPress Trac noreply at wordpress.org
Tue Nov 22 15:02:40 UTC 2022


#57171: unit test for wp_filesize()
--------------------------------------+------------------------------
 Reporter:  pbearne                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"54861" 54861]:
 {{{
 #!CommitTicketReference repository="" revision="54861"
 Tests: Move `wp_filesize()` tests to their own file.

 This aims to make the tests more discoverable and easier to expand.

 Includes splitting the `wp_filesize` and `pre_wp_filesize` filter tests
 into a separate test case.

 Follow-up to [52837], [52932], [54402].

 Props pbearne, spacedmonkey, SergeyBiryukov.
 See #57171.
 }}}

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


More information about the wp-trac mailing list