Make WordPress Core

Changeset 42 in tests


Ignore:
Timestamp:
10/03/2007 02:21:09 AM (18 years ago)
Author:
tellyworth
Message:

set home path in default setUp()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testdata/sample_blogs.php

    r39 r42  
    1515        $this->author = get_userdatabylogin(WP_USER_NAME);
    1616        $this->_delete_all_posts();
     17        update_option('home', 'http://example.com');
    1718        // clear out some caching stuff that's likely to cause unexpected results
    1819        unset($GLOBALS['cache_lastpostmodified']);
    1920        $this->_setup_check = true;
    2021    }
    21    
     22
    2223    function test_setup_check() {
    2324        // 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.