Changeset 51331 for trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php
r48937 r51331 55 55 56 56 // Check data types. 57 $this->assertI nternalType( 'string',$result['user_id'] );58 $this->assertI nternalType( 'string',$result['comment_id'] );57 $this->assertIsString( $result['user_id'] ); 58 $this->assertIsString( $result['comment_id'] ); 59 59 $this->assertInstanceOf( 'IXR_Date', $result['date_created_gmt'] ); 60 $this->assertI nternalType( 'string',$result['parent'] );61 $this->assertI nternalType( 'string',$result['status'] );62 $this->assertI nternalType( 'string',$result['content'] );63 $this->assertI nternalType( 'string',$result['link'] );64 $this->assertI nternalType( 'string',$result['post_id'] );65 $this->assertI nternalType( 'string',$result['post_title'] );66 $this->assertI nternalType( 'string',$result['author'] );67 $this->assertI nternalType( 'string',$result['author_url'] );68 $this->assertI nternalType( 'string',$result['author_email'] );69 $this->assertI nternalType( 'string',$result['author_ip'] );70 $this->assertI nternalType( 'string',$result['type'] );60 $this->assertIsString( $result['parent'] ); 61 $this->assertIsString( $result['status'] ); 62 $this->assertIsString( $result['content'] ); 63 $this->assertIsString( $result['link'] ); 64 $this->assertIsString( $result['post_id'] ); 65 $this->assertIsString( $result['post_title'] ); 66 $this->assertIsString( $result['author'] ); 67 $this->assertIsString( $result['author_url'] ); 68 $this->assertIsString( $result['author_email'] ); 69 $this->assertIsString( $result['author_ip'] ); 70 $this->assertIsString( $result['type'] ); 71 71 72 72 // Check expected values.
Note: See TracChangeset
for help on using the changeset viewer.