Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getMediaItem.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/getMediaItem.php
r51568 r52010 15 15 } 16 16 17 function set_up() {17 public function set_up() { 18 18 parent::set_up(); 19 19 … … 30 30 } 31 31 32 function tear_down() {32 public function tear_down() { 33 33 remove_theme_support( 'post-thumbnails' ); 34 34 … … 38 38 } 39 39 40 function test_invalid_username_password() {40 public function test_invalid_username_password() { 41 41 $result = $this->myxmlrpcserver->wp_getMediaItem( array( 1, 'username', 'password', 0 ) ); 42 42 $this->assertIXRError( $result ); … … 44 44 } 45 45 46 function test_valid_media_item() {46 public function test_valid_media_item() { 47 47 $this->make_user_by_role( 'author' ); 48 48
Note: See TracChangeset
for help on using the changeset viewer.