[wp-trac] [WordPress Trac] #39998: Remove unneeded use of wpdb_exposed_methods_for_testing
WordPress Trac
noreply at wordpress.org
Wed Mar 1 01:26:33 UTC 2017
#39998: Remove unneeded use of wpdb_exposed_methods_for_testing
------------------------------+-----------------------------
Reporter: clarinetlord | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
In looking at the method `test_utf8mb3_post_saves_with_emoji()` in the
file `tests/phpunit/tests/post.php`, I noticed an instantiation of the
`wpdb_exposed_methods_for_testing` class. However, it doesn't seem like
this test calls any non-public methods of the `wpdb` class. It seems like
using this special class isn't necessary. Am I missing something?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39998>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list