#23699 closed enhancement (fixed)
Better `wp_unique_filename` tests
Reported by: | joehoyle | Owned by: | joehoyle |
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | normal | Version: | |
Component: | Unit Tests | Keywords: | |
Focuses: | Cc: |
Description
I refactored the wp_unique_filename test case, as it was rather old and too complicated. The new tests are a lot more linear with no looping, no requirement to write to filesystem. Also, the old one didn't work if you had wp installed in a path with spaces
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 1238/tests: