Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/mw/getRecentPosts.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/mw/getRecentPosts.php
r51587 r52010 23 23 } 24 24 25 function test_invalid_username_password() {25 public function test_invalid_username_password() { 26 26 $result = $this->myxmlrpcserver->mw_getRecentPosts( array( 1, 'username', 'password' ) ); 27 27 $this->assertIXRError( $result ); … … 32 32 * @ticket 22320 33 33 */ 34 function test_no_editing_privileges() {34 public function test_no_editing_privileges() { 35 35 $this->make_user_by_role( 'subscriber' ); 36 36 … … 40 40 } 41 41 42 function test_no_editable_posts() {42 public function test_no_editable_posts() { 43 43 wp_delete_post( self::$post_id, true ); 44 44 … … 48 48 } 49 49 50 function test_valid_post() {50 public function test_valid_post() { 51 51 add_theme_support( 'post-thumbnails' ); 52 52 … … 98 98 * @requires function imagejpeg 99 99 */ 100 function test_post_thumbnail() {100 public function test_post_thumbnail() { 101 101 add_theme_support( 'post-thumbnails' ); 102 102 … … 123 123 } 124 124 125 function test_date() {125 public function test_date() { 126 126 $this->make_user_by_role( 'editor' ); 127 127
Note: See TracChangeset
for help on using the changeset viewer.