Opened 2 years ago
Last modified 10 months ago
#60102 new enhancement
PHPunit tests for dead_db
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Database | Keywords: | has-patch has-unit-tests |
| Focuses: | tests | Cc: |
Description
Change History (3)
This ticket was mentioned in PR #5792 on WordPress/wordpress-develop by @pbearne.
2 years ago
#1
- Keywords has-patch has-unit-tests added
#2
@
14 months ago
- Component changed from Build/Test Tools to Database
- 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.
New unit tests have been added for the "deadDb" function in the WordPress PHPUnit suite. These tests strive to ensure the function is running as intended by checking its exceptions and outcomes. This helps to maintain functionality and reduces the risk of unnoticed issues in future updates.