Twenty tests in tests/php failed on master after PRs that each passed on
their own landed together: code under test started calling a helper, or
loading a file, that these tests' stand-ins didn't provide.
- validCardinal(): actions/group.php, actions/controlcap.php and
ajax/reports.php deleteRequest() reduce request ids with it (#7800).
The five group save tests, the controlcap test and the reports delete
test now carry a copy of it.
- ZM\scalar_values_differ(): Object.php changes() compares with it
(#7774). The group, storage, user and zmtrack tests that load
Object.php now carry a copy.
- authHashTtl(): generateAuthHash() takes its freshness limit from it
(#8367). test_auth_hash_slot_age lifts it out of auth.php alongside
generateAuthHash().
- includes/log_redact.php: ajax/status.php requires it relative to web/
(#7930). The five status tests put web/ on the include path before
including status.php, as the web server's working directory does.
- test_reports_ajax_forged_id: deleteRequest() now reports a delete()
that returns false (#7820), and the stub Report::delete() returned
nothing, so it returns true.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>