Changeset 51331 for trunk/tests/phpunit/tests/xmlrpc/wp/getTerms.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/getTerms.php
r48937 r51331 49 49 50 50 foreach ( $results as $term ) { 51 $this->assertI nternalType( 'int',$term['count'] );51 $this->assertIsInt( $term['count'] ); 52 52 53 53 // Check custom term meta. 54 $this->assertI nternalType( 'array',$term['custom_fields'] );54 $this->assertIsArray( $term['custom_fields'] ); 55 55 56 56 // We expect all other IDs to be strings, not integers,
Note: See TracChangeset
for help on using the changeset viewer.