[wp-trac] [WordPress Trac] #65201: Tests: Add unit tests for heartbeat_autosave()
WordPress Trac
noreply at wordpress.org
Thu May 7 17:14:20 UTC 2026
#65201: Tests: Add unit tests for heartbeat_autosave()
----------------------------+-----------------------------
Reporter: pbearne | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: tests |
----------------------------+-----------------------------
This ticket adds comprehensive unit tests for the heartbeat_autosave()
function in wp-admin/includes/misc.php. These tests will verify that the
function correctly triggers wp_autosave() and returns the appropriate
Heartbeat response for success, error, and empty states.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65201>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list