WordPress.org

Make WordPress Core

Changeset 35367


Ignore:
Timestamp:
10/23/2015 04:49:08 AM (5 years ago)
Author:
dd32
Message:

XMLRPC: Revert the changes to WP_XMLRPC_UnitTestCase in [35366] as they weren't required.

See #34336

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase-xmlrpc.php

    r35366 r35367  
    1212        add_filter( 'pre_option_enable_xmlrpc', '__return_true' );
    1313
    14         $this->myxmlrpcserver = new WP_XMLRPC_Server_UnitTestable();
     14        $this->myxmlrpcserver = new wp_xmlrpc_server();
    1515    }
    1616
    1717    function tearDown() {
    1818        remove_filter( 'pre_option_enable_xmlrpc', '__return_true' );
    19 
    20          $this->myxmlrpcserver->reset_failed_auth();
    2119
    2220        $this->remove_added_uploads();
     
    3230        ));
    3331    }
     32
    3433}
    35 
    36 class WP_XMLRPC_Server_UnitTestable extends wp_xmlrpc_server {
    37     public function reset_failed_auth() {
    38         $this->auth_failed = false;
    39     }
    40 }
Note: See TracChangeset for help on using the changeset viewer.