Changeset 875 in tests for trunk/tests/test_http.php
- Timestamp:
- 07/03/2012 05:24:03 PM (14 years ago)
- Location:
- trunk/tests
- Files:
-
- 1 edited
- 1 moved
-
. (moved) (moved from trunk/wp-testcase)
-
test_http.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/test_http.php
r874 r875 16 16 */ 17 17 abstract class WP_HTTP_UnitTestCase extends WP_UnitTestCase { 18 // You can use your own version of wp-testdata/WPHTTP-testcase-redirection-script.php here.18 // You can use your own version of data/WPHTTP-testcase-redirection-script.php here. 19 19 var $redirection_script = 'http://api.wordpress.org/core/tests/1.0/redirection.php'; 20 20 … … 157 157 158 158 function test_file_stream() { 159 $url = 'http://unit-tests.svn.wordpress.org/trunk/ wp-testdata/images/2004-07-22-DSC_0007.jpg'; // we'll test against a file in the unit test data159 $url = 'http://unit-tests.svn.wordpress.org/trunk/data/images/2004-07-22-DSC_0007.jpg'; // we'll test against a file in the unit test data 160 160 $size = 87348; 161 161 $res = wp_remote_request( $url, array( 'stream' => true, 'timeout' => 30 ) ); //Auto generate the filename.
Note: See TracChangeset
for help on using the changeset viewer.