Changeset 47122 for trunk/tests/phpunit/tests/xmlrpc/wp/uploadFile.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/uploadFile.php
r46586 r47122 15 15 $this->make_user_by_role( 'editor' ); 16 16 17 // create attachment17 // Create attachment. 18 18 $filename = ( DIR_TESTDATA . '/images/a2-small.jpg' ); 19 19 $contents = file_get_contents( $filename ); … … 27 27 $this->assertNotIXRError( $result ); 28 28 29 // check data types29 // Check data types. 30 30 $this->assertInternalType( 'string', $result['id'] ); 31 31 $this->assertStringMatchesFormat( '%d', $result['id'] );
Note: See TracChangeset
for help on using the changeset viewer.