#36917 closed task (blessed) (fixed)
Re-architect wpdb::init_charset() for unit testing
Reported by: | pento | Owned by: | pento |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Database | Keywords: | has-patch needs-unit-tests |
Focuses: | Cc: |
Description
The behaviour of wpdb::init_charset()
is becoming more complex, but due to the dependence on defines for passing data, instead of parameters, it's not possible to test that behaviour.
By splitting up the logic, we can add testing for this method.
See [37522].
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
First pass.