Changeset 28783 for trunk/tests/phpunit/tests/query/results.php
- Timestamp:
- 06/20/2014 04:20:35 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/query/results.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/results.php
r28664 r28783 403 403 } 404 404 405 /** 406 * @ticket 28099 407 */ 405 408 function test_empty_post__in() { 406 409 $posts1 = $this->q->query( array() ); 407 410 $this->assertNotEmpty( $posts1 ); 408 411 $posts2 = $this->q->query( array( 'post__in' => array() ) ); 409 $this->assert Empty( $posts2 );412 $this->assertNotEmpty( $posts2 ); 410 413 $posts3 = $this->q->query( array( 'post_parent__in' => array() ) ); 411 $this->assert Empty( $posts3 );414 $this->assertNotEmpty( $posts3 ); 412 415 } 413 416 … … 515 518 516 519 $posts = $this->q->query( array( 'author__in' => array() ) ); 517 $this->assert Empty( $posts );520 $this->assertNotEmpty( $posts ); 518 521 519 522 $posts = $this->q->query( array(
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)