Opened 8 months ago
Last modified 6 months ago
#60054 new defect (bug)
phpunit tests for apache_mod_loaded
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
Change History (1)
This ticket was mentioned in PR #5759 on WordPress/wordpress-develop by @pbearne.
8 months ago
#1
- Keywords has-patch has-unit-tests added
Note: See
TracTickets for help on using
tickets.
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.