Changeset 1040 in tests for trunk/tests/xmlrpc/mw/newPost.php
- Timestamp:
- 09/22/2012 04:33:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/xmlrpc/mw/newPost.php
r904 r1040 106 106 $this->assertStringMatchesFormat( '%d', $result ); 107 107 108 $out = wp_get_single_post( $result );108 $out = get_post( $result ); 109 109 $this->assertEquals( $my_author_id, $out->post_author ); 110 110 $this->assertEquals( 'Test', $out->post_title ); … … 155 155 $this->assertStringMatchesFormat( '%d', $result ); 156 156 157 $out = wp_get_single_post( $result );157 $out = get_post( $result ); 158 158 $this->assertEquals( 'Test', $out->post_title ); 159 159 $this->assertEquals( 'page', $out->post_type );
Note: See TracChangeset
for help on using the changeset viewer.