Changeset 51331 for trunk/tests/phpunit/tests/comment/metaCache.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/metaCache.php
r46586 r51331 234 234 wp_cache_delete( 'last_changed', 'comment' ); 235 235 236 $this->assertI nternalType( 'integer',add_metadata( 'comment', $comment_id, 'foo', 'bar' ) );236 $this->assertIsInt( add_metadata( 'comment', $comment_id, 'foo', 'bar' ) ); 237 237 $this->assertNotFalse( wp_cache_get_last_changed( 'comment' ) ); 238 238 } … … 246 246 wp_cache_delete( 'last_changed', 'comment' ); 247 247 248 $this->assertI nternalType( 'integer',update_metadata( 'comment', $comment_id, 'foo', 'bar' ) );248 $this->assertIsInt( update_metadata( 'comment', $comment_id, 'foo', 'bar' ) ); 249 249 $this->assertNotFalse( wp_cache_get_last_changed( 'comment' ) ); 250 250 }
Note: See TracChangeset
for help on using the changeset viewer.