Changeset 42 in tests
- Timestamp:
- 10/03/2007 02:21:09 AM (18 years ago)
- File:
-
- 1 edited
-
wp-testdata/sample_blogs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-testdata/sample_blogs.php
r39 r42 15 15 $this->author = get_userdatabylogin(WP_USER_NAME); 16 16 $this->_delete_all_posts(); 17 update_option('home', 'http://example.com'); 17 18 // clear out some caching stuff that's likely to cause unexpected results 18 19 unset($GLOBALS['cache_lastpostmodified']); 19 20 $this->_setup_check = true; 20 21 } 21 22 22 23 function test_setup_check() { 23 24 // it's easy to forget to call parent::setUp() when extending a base test class
Note: See TracChangeset
for help on using the changeset viewer.