Opened 8 years ago
Last modified 4 years ago
#37005 new enhancement
Unit test for the wp_check_filetype method
Reported by: | borgesbruno | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch has-unit-tests needs-refresh |
Focuses: | Cc: |
Description
Improving the code coverage for the functions.php, to be more precise the wp_check_filetype
method, this one hadn't any tests written, decreasing the overall code coverage. Now, the test covers the entire logic
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Looks like
wp_check_filetype()
now has tests thanks to #39550. Not sure if the one proposed here has any additional improvements that should be added in?