Changeset 51331 for trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
- Timestamp:
- 07/05/2021 05:21:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getRevisions.php
r48937 r51331 42 42 43 43 $result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'editor', 'editor', $post_id ) ); 44 $this->assertI nternalType( 'array',$result );44 $this->assertIsArray( $result ); 45 45 $this->assertCount( 1, $result ); 46 46 … … 53 53 54 54 $result = $this->myxmlrpcserver->wp_getRevisions( array( 1, 'editor', 'editor', $post_id ) ); 55 $this->assertI nternalType( 'array',$result );55 $this->assertIsArray( $result ); 56 56 $this->assertCount( 2, $result ); 57 57 }
Note: See TracChangeset
for help on using the changeset viewer.