Changeset 56549 for trunk/tests/phpunit/tests/comment/metaCache.php
- Timestamp:
- 09/09/2023 09:26:01 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/metaCache.php
r55749 r56549 244 244 $num_queries = get_num_queries(); 245 245 $this->assertSame( 'bar', get_comment_meta( $comments[0], 'foo', 'bar' ) ); 246 $num_queries++;246 ++$num_queries; 247 247 $this->assertSame( $num_queries, get_num_queries() ); 248 248 … … 253 253 // A comment from outside the results will not be primed. 254 254 $this->assertSame( 'bar', get_comment_meta( $comments[4], 'foo', 'bar' ) ); 255 $num_queries++;255 ++$num_queries; 256 256 $this->assertSame( $num_queries, get_num_queries() ); 257 257 } … … 294 294 $num_queries = get_num_queries(); 295 295 $this->assertSame( 'bar', get_comment_meta( $comments[0], 'foo', 'bar' ) ); 296 $num_queries++;296 ++$num_queries; 297 297 $this->assertSame( $num_queries, get_num_queries() ); 298 298 … … 303 303 // A comment from outside the results will not be primed. 304 304 $this->assertSame( 'bar', get_comment_meta( $comments[4], 'foo', 'bar' ) ); 305 $num_queries++;305 ++$num_queries; 306 306 $this->assertSame( $num_queries, get_num_queries() ); 307 307 }
Note: See TracChangeset
for help on using the changeset viewer.