Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/basic.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/basic.php
r50954 r52010 9 9 */ 10 10 class Tests_XMLRPC_Basic extends WP_XMLRPC_UnitTestCase { 11 function test_enabled() {11 public function test_enabled() { 12 12 $result = $this->myxmlrpcserver->wp_getOptions( array( 1, 'username', 'password' ) ); 13 13 … … 17 17 } 18 18 19 function test_login_pass_ok() {19 public function test_login_pass_ok() { 20 20 $this->make_user_by_role( 'subscriber' ); 21 21 … … 24 24 } 25 25 26 function test_login_pass_bad() {26 public function test_login_pass_bad() { 27 27 $this->make_user_by_role( 'subscriber' ); 28 28 … … 37 37 * @ticket 34336 38 38 */ 39 function test_multicall_invalidates_all_calls_after_invalid_call() {39 public function test_multicall_invalidates_all_calls_after_invalid_call() { 40 40 $editor_id = $this->make_user_by_role( 'editor' ); 41 41 $post_id = self::factory()->post->create( … … 100 100 * @ticket 36586 101 101 */ 102 function test_isStruct_on_non_numerically_indexed_array() {102 public function test_isStruct_on_non_numerically_indexed_array() { 103 103 $value = new IXR_Value( array( '0.0' => 100 ) ); 104 104 … … 110 110 } 111 111 112 function test_disabled() {112 public function test_disabled() { 113 113 add_filter( 'xmlrpc_enabled', '__return_false' ); 114 114 $testcase_xmlrpc_server = new wp_xmlrpc_server();
Note: See TracChangeset
for help on using the changeset viewer.