Opened 4 weeks ago
Last modified 4 weeks ago
#65226 new enhancement
Build/Test Tools: Move AJAX unit tests to mirror source structure
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
| Focuses: | tests | Cc: |
Description
Currently, AJAX unit tests are located in tests/phpunit/tests/ajax/. To follow the project's testing guidelines and mirror the source structure (src/wp-admin/includes/ajax-actions.php), these tests should be moved to tests/phpunit/tests/admin/includes/ajax-actions/.
Change History (1)
This ticket was mentioned in PR #11812 on WordPress/wordpress-develop by @pbearne.
4 weeks ago
#1
- Keywords has-patch has-unit-tests added
Note: See
TracTickets for help on using
tickets.
Currently, AJAX unit tests are located in tests/phpunit/tests/ajax/. To follow the project's testing guidelines and mirror the source structure (src/wp-admin/includes/ajax-actions.php), these tests have been moved to tests/phpunit/tests/admin/includes/ajax-actions/.
Trac ticket: https://core.trac.wordpress.org/ticket/65226
AI Disclosure: