Opened 2 years ago
Last modified 11 months ago
#60054 new enhancement
phpunit tests for apache_mod_loaded
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch has-unit-tests |
| Focuses: | tests | Cc: |
Description
Change History (3)
This ticket was mentioned in PR #5759 on WordPress/wordpress-develop by @pbearne.
2 years 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.