Changeset 32997
- Timestamp:
- 06/29/2015 02:31:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPostClass.php
r31979 r32997 125 125 $found = get_post_class( '', $this->post_id ); 126 126 127 $this->assertSame( $num_queries, $wpdb->num_queries ); 127 // The 'site_icon' option check adds a query during unit tests. See {@see WP_Site_Icon::get_post_metadata()}. 128 $expected_num_queries = $num_queries + 1; 129 130 $this->assertSame( $expected_num_queries, $wpdb->num_queries ); 128 131 } 129 132 }
Note: See TracChangeset
for help on using the changeset viewer.