Tests: Remove unnecessary use of `wpdb_exposed_methods_for_testing` in `test_utf8mb3_post_saves_with_emoji()`.

Props clarinetlord.
Fixes #39998.

git-svn-id: https://develop.svn.wordpress.org/trunk@47431 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-03-05 11:53:34 +00:00
parent 48df8c3646
commit b6ac7c4f87
1 changed files with 1 additions and 2 deletions

View File

@ -1004,9 +1004,8 @@ class Tests_Post extends WP_UnitTestCase {
*/
function test_utf8mb3_post_saves_with_emoji() {
global $wpdb;
$_wpdb = new WpdbExposedMethodsForTesting();
if ( 'utf8' !== $_wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
if ( 'utf8' !== $wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
$this->markTestSkipped( 'This test is only useful with the utf8 character set' );
}