Changeset 49862 for trunk/tests/phpunit/tests/xmlrpc/basic.php
- Timestamp:
- 12/21/2020 08:21:12 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/basic.php
r48937 r49862 15 15 // If disabled, 405 would result. 16 16 $this->assertSame( 403, $result->code ); 17 } 18 19 function test_disabled() { 20 add_filter( 'xmlrpc_enabled', '__return_false' ); 21 22 $result = $this->myxmlrpcserver->wp_getOptions( array( 1, 'username', 'password' ) ); 23 24 $this->assertIXRError( $result ); 25 $this->assertSame( 405, $result->code ); 17 26 } 18 27
Note: See TracChangeset
for help on using the changeset viewer.