Opened 4 months ago
Closed 4 months ago
#47701 closed enhancement (fixed)
unit test for wp_get_mime_types()
Reported by: | pbearne | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | Media | Keywords: | has-patch has-unit-tests dev-feedback |
Focuses: | Cc: | ||
PR Number: |
Description
just a unit test for a function in functions.php
Attachments (2)
Change History (6)
#1
@
4 months ago
Thanks for the patch! However, I'm not sure if there's any benefit in duplicate the entire list of of mime types in the test and maintaining it in two places...
Perhaps something like test_wp_get_ext_types() that we have for wp_get_ext_types()
would be enough here?
Note: See
TracTickets for help on using
tickets.
new unit test