Changeset 1283 in tests for trunk/tests/cache.php
- Timestamp:
- 05/16/2013 12:24:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/cache.php
r1275 r1283 282 282 283 283 global $wp_object_cache; 284 $this->assertEquals( $ new_blank_cache_object, $wp_object_cache);284 $this->assertEquals( $wp_object_cache, $new_blank_cache_object ); 285 285 } 286 286 … … 294 294 // Save the first value to cache and verify 295 295 wp_cache_set( $key, $val1 ); 296 $this->assertEquals( wp_cache_get( $key ), $val1);296 $this->assertEquals( $val1, wp_cache_get( $key ) ); 297 297 298 298 // Replace the value and verify 299 299 wp_cache_replace( $key, $val2 ); 300 $this->assertEquals( wp_cache_get( $key ), $val2);300 $this->assertEquals( $val2, wp_cache_get( $key ) ); 301 301 302 302 // Non-existant key should fail
Note: See TracChangeset
for help on using the changeset viewer.