Make WordPress Core

Opened 10 months ago

Last modified 3 days ago

#60054 new enhancement

phpunit tests for apache_mod_loaded

Reported by: pbearne's profile pbearne Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch has-unit-tests
Focuses: Cc:

Description


Change History (2)

This ticket was mentioned in PR #5759 on WordPress/wordpress-develop by @pbearne.


10 months ago
#1

  • Keywords has-patch has-unit-tests added

The commit introduces tests for the apache_mod_loaded function in the WordPress codebase. These PHPUnit tests ensure the function's reliability and correctness by testing various scenarios, including presence of 'mod_rewrite', missing modules, and default values.

#2 @desrosj
3 days ago

  • Component changed from Build/Test Tools to General
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

Since this is about adding tests and not a general build or test tooling change, I'm reassigning it to the relevant component.

Note: See TracTickets for help on using tickets.