Changeset 45607 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r45588 r45607 96 96 97 97 $tcache = wp_cache_get( $id, 'ctax_relationships' ); 98 if ( 'cpt' == $post_type ) {98 if ( 'cpt' === $post_type ) { 99 99 $this->assertInternalType( 'array', $tcache ); 100 100 $this->assertEquals( 2, count( $tcache ) ); … … 1009 1009 function test_utf8mb3_post_saves_with_emoji() { 1010 1010 global $wpdb; 1011 $_wpdb = new wpdb_exposed_methods_for_testing();1011 $_wpdb = new WpdbExposedMethodsForTesting(); 1012 1012 1013 1013 if ( 'utf8' !== $_wpdb->get_col_charset( $wpdb->posts, 'post_title' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.