- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/mt/getRecentPostTitles.php
r51367 r52010 6 6 class Tests_XMLRPC_mt_getRecentPostTitles extends WP_XMLRPC_UnitTestCase { 7 7 8 function test_invalid_username_password() {8 public function test_invalid_username_password() { 9 9 $result = $this->myxmlrpcserver->mt_getRecentPostTitles( array( 1, 'username', 'password' ) ); 10 10 $this->assertIXRError( $result ); … … 12 12 } 13 13 14 function test_no_posts() {14 public function test_no_posts() { 15 15 $this->make_user_by_role( 'author' ); 16 16 … … 20 20 } 21 21 22 function test_no_editable_posts() {22 public function test_no_editable_posts() { 23 23 $this->make_user_by_role( 'author' ); 24 24 $editor = $this->make_user_by_role( 'editor' ); … … 30 30 } 31 31 32 function test_date() {32 public function test_date() { 33 33 $this->make_user_by_role( 'author' ); 34 34
Note: See TracChangeset
for help on using the changeset viewer.