Make WordPress Core

Ticket #39998: Removed_unnecessary_use_of_wpdb_exposed_methods_for_testing_class.patch

File Removed_unnecessary_use_of_wpdb_exposed_methods_for_testing_class.patch, 681 bytes (added by clarinetlord, 9 years ago)
  • tests/phpunit/tests/post.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    956956         */
    957957        function test_utf8mb3_post_saves_with_emoji() {
    958958                global $wpdb;
    959                 $_wpdb = new wpdb_exposed_methods_for_testing();
    960959
    961                 if ( 'utf8' !== $_wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
     960                if ( 'utf8' !== $wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
    962961                        $this->markTestSkipped( 'This test is only useful with the utf8 character set' );
    963962                }
    964963