Make WordPress Core

Changeset 47431


Ignore:
Timestamp:
03/05/2020 11:53:34 AM (5 years ago)
Author:
SergeyBiryukov
Message:

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

Props clarinetlord.
Fixes #39998.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post.php

    r47317 r47431  
    10051005    function test_utf8mb3_post_saves_with_emoji() {
    10061006        global $wpdb;
    1007         $_wpdb = new WpdbExposedMethodsForTesting();
    1008 
    1009         if ( 'utf8' !== $_wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
     1007
     1008        if ( 'utf8' !== $wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
    10101009            $this->markTestSkipped( 'This test is only useful with the utf8 character set' );
    10111010        }
Note: See TracChangeset for help on using the changeset viewer.