Changeset 35242 for trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
- Timestamp:
- 10/17/2015 06:02:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
r35225 r35242 15 15 $this->make_user_by_role( 'subscriber' ); 16 16 17 $post_id = self:: $factory->post->create();17 $post_id = self::factory()->post->create(); 18 18 19 19 $result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'subscriber', 'subscriber', $post_id ) ); … … 25 25 $this->make_user_by_role( 'editor' ); 26 26 27 $post_id = self:: $factory->post->create();27 $post_id = self::factory()->post->create(); 28 28 $result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'editor', 'editor', $post_id ) ); 29 29 $this->assertNotInstanceOf( 'IXR_Error', $result ); … … 33 33 $this->make_user_by_role( 'editor' ); 34 34 35 $post_id = self:: $factory->post->create();35 $post_id = self::factory()->post->create(); 36 36 wp_insert_post( array( 'ID' => $post_id, 'post_content' => 'Edit 1' ) ); // Create the initial revision 37 37
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)