#23699 closed enhancement (fixed)
Better `wp_unique_filename` tests
| Reported by: | joehoyle | Owned by: | joehoyle |
|---|---|---|---|
| Priority: | normal | Milestone: | WordPress.org |
| Component: | Unit Tests | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 1238/tests: