Changeset 31324 for trunk/tests/phpunit/tests/query/results.php
- Timestamp:
- 02/03/2015 02:28:52 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/results.php
r30524 r31324 388 388 /** 389 389 * @ticket 27252 390 * @ticket 31194 390 391 */ 391 392 function test_query_fields_integers() { … … 402 403 403 404 $this->assertSame( $parents, $posts1 ); 405 $this->assertSame( $parents, $this->q->posts ); 404 406 405 407 $children = array( … … 415 417 416 418 $this->assertSame( $children, $posts2 ); 419 420 foreach ( $this->q->posts as $post ) { 421 $this->assertInternalType( 'int', $post->ID ); 422 $this->assertInternalType( 'int', $post->post_parent ); 423 } 417 424 418 425 }
Note: See TracChangeset
for help on using the changeset viewer.