Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getOptions.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getOptions.php
r51331 r52010 6 6 class Tests_XMLRPC_wp_getOptions extends WP_XMLRPC_UnitTestCase { 7 7 8 function test_invalid_username_password() {8 public function test_invalid_username_password() { 9 9 $result = $this->myxmlrpcserver->wp_getOptions( array( 1, 'username', 'password' ) ); 10 10 $this->assertIXRError( $result ); … … 12 12 } 13 13 14 function test_valid_username_password() {14 public function test_valid_username_password() { 15 15 $this->make_user_by_role( 'subscriber' ); 16 16 … … 20 20 } 21 21 22 function test_option_value() {22 public function test_option_value() { 23 23 $this->make_user_by_role( 'administrator' ); 24 24 … … 33 33 * @ticket 20201 34 34 */ 35 function test_option_values_subscriber() {35 public function test_option_values_subscriber() { 36 36 global $wp_version; 37 37 $this->make_user_by_role( 'subscriber' ); … … 121 121 } 122 122 123 function test_option_values_admin() {123 public function test_option_values_admin() { 124 124 global $wp_version; 125 125
Note: See TracChangeset
for help on using the changeset viewer.