Changeset 1244 in tests
- Timestamp:
- 03/14/2013 12:36:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/admin/includesFile.php
r1149 r1244 18 18 $siteurl = get_option( 'siteurl' ); 19 19 $sfn = $_SERVER['SCRIPT_FILENAME']; 20 $this->assertEquals( ABSPATH, get_home_path() );20 $this->assertEquals( str_replace( '\\', '/', ABSPATH ), get_home_path() ); 21 21 22 22 update_option( 'home', 'http://localhost' ); … … 24 24 25 25 $_SERVER['SCRIPT_FILENAME'] = 'D:\root\vhosts\site\httpdocs\wp\wp-admin\options-permalink.php'; 26 $this->assertEquals( 'D: \root\vhosts\site\httpdocs/', get_home_path() );26 $this->assertEquals( 'D:/root/vhosts/site/httpdocs/', get_home_path() ); 27 27 28 28 $_SERVER['SCRIPT_FILENAME'] = '/Users/foo/public_html/trunk/wp/wp-admin/options-permalink.php';
Note: See TracChangeset
for help on using the changeset viewer.