[wp-trac] [WordPress Trac] #36917: Re-architect wpdb::init_charset() for unit testing
WordPress Trac
noreply at wordpress.org
Mon May 23 06:29:48 UTC 2016
#36917: Re-architect wpdb::init_charset() for unit testing
----------------------------+----------------------------
Reporter: pento | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: Future Release
Component: Database | Version:
Severity: minor | Keywords:
Focuses: |
----------------------------+----------------------------
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].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36917>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list