Changeset 47122 for trunk/tests/phpunit/tests/xmlrpc/wp/getMediaItem.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getMediaItem.php
r46586 r47122 50 50 $this->assertNotIXRError( $result ); 51 51 52 // Check data types 52 // Check data types. 53 53 $this->assertInternalType( 'string', $result['attachment_id'] ); 54 54 $this->assertInternalType( 'int', $result['parent'] ); … … 61 61 $this->assertInternalType( 'array', $result['metadata'] ); 62 62 63 // Check expected values 63 // Check expected values. 64 64 $this->assertStringMatchesFormat( '%d', $result['attachment_id'] ); 65 65 $this->assertEquals( $this->attachment_data['post_title'], $result['title'] );
Note: See TracChangeset
for help on using the changeset viewer.