Changeset 30337 for trunk/tests/phpunit/tests/post/getPages.php
- Timestamp:
- 11/13/2014 10:03:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPages.php
r30159 r30337 80 80 // This should bump last_changed. 81 81 wp_delete_post( $pages[0]->ID ); 82 $this->assertGreaterThan( $last_changed, wp_cache_get( 'last_changed', 'posts' ) ); 82 $old_changed_float = $this->_microtime_to_float( $last_changed ); 83 $new_changed_float = $this->_microtime_to_float( wp_cache_get( 'last_changed', 'posts' ) ); 84 $this->assertGreaterThan( $old_changed_float, $new_changed_float ); 83 85 84 86 $num_queries = $wpdb->num_queries;
Note: See TracChangeset
for help on using the changeset viewer.