Changeset 51331 for trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
r49603 r51331 107 107 $term = "term_{$i}"; 108 108 $result = wp_insert_term( $term, $this->taxonomy ); 109 $this->assertI nternalType( 'array',$result );109 $this->assertIsArray( $result ); 110 110 $term_id[ $term ] = $result['term_id']; 111 111 } … … 255 255 $term = "term_{$i}"; 256 256 $result = wp_insert_term( $term, $this->taxonomy ); 257 $this->assertI nternalType( 'array',$result );257 $this->assertIsArray( $result ); 258 258 $terms_1[ $i ] = $result['term_id']; 259 259 }
Note: See TracChangeset
for help on using the changeset viewer.