Ticket #20409: 20409_unittests.patch
| File 20409_unittests.patch, 1.1 KB (added by , 14 years ago) |
|---|
-
wp-testcase/test-xmlrpc-api/test_wp_getPost.php
59 59 $this->assertInternalType( 'string', $result['ping_status'] ); 60 60 $this->assertInternalType( 'bool', $result['sticky'] ); 61 61 $this->assertInternalType( 'string', $result['post_format'] ); 62 $this->assertInternalType( ' string', $result['post_thumbnail'] );62 $this->assertInternalType( 'array', $result['post_thumbnail'] ); 63 63 64 64 // Check expected values 65 65 $this->assertStringMatchesFormat( '%d', $result['post_id'] ); … … 70 70 $this->assertEquals( $this->post_data['post_excerpt'], $result['post_excerpt'] ); 71 71 $this->assertEquals( $this->post_data['post_content'], $result['post_content'] ); 72 72 $this->assertEquals( url_to_postid( $result['link'] ), $this->post_id ); 73 $this->assertEquals( '', $result['post_thumbnail'] );74 73 75 74 remove_theme_support( 'post-thumbnails' ); 76 75 }