Changeset 35299 for trunk/tests/phpunit/tests/post/getPostClass.php
- Timestamp:
- 10/20/2015 06:22:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPostClass.php
r35242 r35299 121 121 $found = get_post_class( '', $this->post_id ); 122 122 123 // The 'site_icon' option check adds a query during unit tests. See {@see WP_Site_Icon::get_post_metadata()}. 124 $expected_num_queries = $num_queries + 1; 125 126 $this->assertSame( $expected_num_queries, $wpdb->num_queries ); 123 $this->assertSame( $num_queries, $wpdb->num_queries ); 127 124 } 128 125 }
Note: See TracChangeset
for help on using the changeset viewer.