Changeset 51331 for trunk/tests/phpunit/tests/post.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r51079 r51331 98 98 update_object_term_cache( $id, $post_type ); 99 99 $tcache = wp_cache_get( $id, 'post_tag_relationships' ); 100 $this->assertI nternalType( 'array',$tcache );100 $this->assertIsArray( $tcache ); 101 101 $this->assertSame( 2, count( $tcache ) ); 102 102 103 103 $tcache = wp_cache_get( $id, 'ctax_relationships' ); 104 104 if ( 'cpt' === $post_type ) { 105 $this->assertI nternalType( 'array',$tcache );105 $this->assertIsArray( $tcache ); 106 106 $this->assertSame( 2, count( $tcache ) ); 107 107 } else {
Note: See TracChangeset
for help on using the changeset viewer.