WordPress.org

Make WordPress Core

Changeset 351 in tests


Ignore:
Timestamp:
05/12/2011 09:09:11 AM (7 years ago)
Author:
duck_
Message:

Add back knownWPBug for future automated ticket reopening, see [350]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_http.php

    r350 r351  
    4444    }
    4545   
    46     function test_redirect_on_301_no_redirect() {   
     46    function test_redirect_on_301_no_redirect() {
     47        $this->knownWPBug(16855);
    4748        // 5 > 0 & 301
    4849        $res = wp_remote_request($this->redirection_script . '?code=301&rt=' . 5, array('redirection' => 0) );
     
    5051    }
    5152
    52     function test_redirect_on_302_no_redirect() {   
     53    function test_redirect_on_302_no_redirect() {
     54        $this->knownWPBug(16855);
    5355        // 5 > 0 & 302
    5456        $res = wp_remote_request($this->redirection_script . '?code=302&rt=' . 5, array('redirection' => 0) );
     
    6971
    7072    function test_redirect_on_head() {
     73        $this->knownWPBug(16855);
    7174        // Redirections on HEAD request when Requested
    7275        $res = wp_remote_request($this->redirection_script . '?rt=' . 5, array('redirection' => 5, 'method' => 'HEAD') );
     
    9396
    9497    function test_redirections_zero_redirections_specified() {
     98        $this->knownWPBug(16855);
    9599        // 0 redirections asked for, Should return the document?
    96100        $res = wp_remote_request($this->redirection_script . '?code=302&rt=' . 5, array('redirection' => 0) );
Note: See TracChangeset for help on using the changeset viewer.