Changeset 1315 in tests for trunk/tests/xmlrpc/wp/getRevisions.php
- Timestamp:
- 07/21/2013 12:46:13 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/xmlrpc/wp/getRevisions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/xmlrpc/wp/getRevisions.php
r1252 r1315 34 34 35 35 $post_id = $this->factory->post->create(); 36 wp_insert_post( array( 'ID' => $post_id, 'post_content' => 'Edit 1' ) ); // Create the initial revision 36 37 37 38 $result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'editor', 'editor', $post_id ) ); … … 39 40 $this->assertCount( 1, $result ); 40 41 41 wp_insert_post( array( 'ID' => $post_id, 'post_content' => 'Edit 1' ) );42 wp_insert_post( array( 'ID' => $post_id, 'post_content' => 'Edit 2' ) ); 42 43 43 44 $result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'editor', 'editor', $post_id ) );
Note: See TracChangeset
for help on using the changeset viewer.