#65227 closed enhancement (wontfix)
Tests: Add unit tests for wp_ajax_wp_compression_test()
| Reported by: | pbearne | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: | tests |
Description
The function wp_ajax_wp_compression_test() in src/wp-admin/includes/ajax-actions.php currently lacks formal unit test coverage in the correct location. This task involves adding/moving tests to verify that it correctly handles compression testing via AJAX.
Change History (3)
This ticket was mentioned in PR #11813 on WordPress/wordpress-develop by @pbearne.
6 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
3 weeks ago
- Milestone Awaiting Review
- Resolution → wontfix
- Status new → closed
This is obsolete now that the function has been deprecated in r64486.
@westonruter commented on PR #11813:
3 weeks ago
#3
Closing as obsolete due to https://github.com/WordPress/wordpress-develop/pull/14412 which landed in r64486 (https://github.com/WordPress/wordpress-develop/commit/518cd6524d8d6345ae2f0103c7f5d5da0ac7ff00).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This PR moves the unit tests for the wp_ajax_wp_compression_test() function in src/wp-admin/includes/ajax-actions.php to the correct directory mirroring the source structure. These tests verify that the function correctly handles compression testing via AJAX.
Trac ticket: https://core.trac.wordpress.org/ticket/65227
AI Disclosure:
AI assistance: Yes
Tool(s): Junie (JetBrains)
Model(s): gemini-3-flash-preview
Used for: Code analysis, file management, and workflow management.