Changeset 30112 for trunk/tests/phpunit/tests/term/cache.php
- Timestamp:
- 10/30/2014 04:14:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/cache.php
r30108 r30112 198 198 $this->assertSame( $term_id, wp_cache_get( $cache_key_name, $taxonomy . ':names:' . wp_cache_get( 'last_changed', 'terms' ) ) ); 199 199 200 wp_suspend_cache_invalidation();200 $suspend = wp_suspend_cache_invalidation(); 201 201 clean_term_cache( $term_id, $taxonomy ); 202 202 … … 208 208 // Verify that last changed has not been updated as part of an invalidation routine 209 209 $this->assertSame( $last_changed, wp_cache_get( 'last_changed', 'terms' ) ); 210 211 // Clean up. 212 wp_suspend_cache_invalidation( $suspend ); 210 213 } 211 214 }
Note: See TracChangeset
for help on using the changeset viewer.