#60217 closed task (blessed) (fixed)
phpUnit test for wp_parse_slug_list
| Reported by: | pbearne | Owned by: | swissspidy |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.5 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
Change History (6)
This ticket was mentioned in PR #5850 on WordPress/wordpress-develop by @pbearne.
3 years ago
#2
- Keywords has-patch has-unit-tests added
@swissspidy commented on PR #5850:
3 years ago
#5
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
A new phpunit test file is added specifically for testing the 'wp_parse_slug_list' function. Different scenarios are covered including handling of plain numbers, strings with spaces, strings with commas, and HTML. This ensures that the function responds correctly to a wide array of inputs, improving overall software reliability and stability.