Make WordPress Core

Opened 3 years ago

Last modified 5 months 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: General Keywords: has-patch has-unit-tests
Focuses: Cc:
PR Number:


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)

37005.diff (1.4 KB) - added by borgesbruno 3 years ago.

Download all attachments as: .zip

Change History (2)

3 years ago

#1 @borgesbruno
3 years ago

  • Keywords has-patch has-unit-tests added
Note: See TracTickets for help on using tickets.