Changeset 51331 for trunk/tests/phpunit/tests/term/getTheTerms.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTheTerms.php
r49603 r51331 40 40 $terms = get_the_terms( $post_id, $this->taxonomy ); 41 41 $cache = wp_cache_get( $post_id, $this->taxonomy . '_relationships' ); 42 $this->assertI nternalType( 'array',$cache );42 $this->assertIsArray( $cache ); 43 43 44 44 // Cache should be empty after a set.
Note: See TracChangeset
for help on using the changeset viewer.