Make WordPress Core

Changeset 875 in tests for trunk/tests/test_http.php


Ignore:
Timestamp:
07/03/2012 05:24:03 PM (14 years ago)
Author:
nacin
Message:

Rename the unit tests wp-config.php to wp-tests-config.php. Also:

  • Rename wp-testdata to data
  • Rename wp-testlib to includes
  • Rename wp-testcase to tests
  • Begin to remove files from the old test suite we no longer need to port code from

fixes #98. see #42.

Location:
trunk/tests
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_http.php

    r874 r875  
    1616 */
    1717abstract 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.
    1919    var $redirection_script = 'http://api.wordpress.org/core/tests/1.0/redirection.php';
    2020
     
    157157
    158158    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 data
     159        $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
    160160        $size = 87348;
    161161        $res = wp_remote_request( $url, array( 'stream' => true, 'timeout' => 30 ) ); //Auto generate the filename.
Note: See TracChangeset for help on using the changeset viewer.