Changeset 28881 for trunk/tests/phpunit/tests/ms.php
- Timestamp:
- 06/28/2014 04:06:12 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ms.php
r28835 r28881 1398 1398 $this->assertEquals( 1, get_blog_details()->post_count ); 1399 1399 } 1400 1401 /** 1402 * @ticket 26410 1403 */ 1404 function test_blog_details_cache_invalidation() { 1405 update_option( 'blogname', 'foo' ); 1406 $details = get_blog_details( get_current_blog_id() ); 1407 $this->assertEquals( 'foo', $details->blogname ); 1408 1409 update_option( 'blogname', 'bar' ); 1410 $details = get_blog_details( get_current_blog_id() ); 1411 $this->assertEquals( 'bar', $details->blogname ); 1412 } 1400 1413 } 1401 1414
Note: See TracChangeset
for help on using the changeset viewer.