Make WordPress Core


Ignore:
Timestamp:
06/20/2014 04:20:35 PM (12 years ago)
Author:
wonderboymusic
Message:

Revert [28613] and [28664]. A good idea, but too much BC baggage.

See #28099.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/query/results.php

    r28664 r28783  
    403403        }
    404404
     405        /**
     406         * @ticket 28099
     407         */
    405408        function test_empty_post__in() {
    406409                $posts1 = $this->q->query( array() );
    407410                $this->assertNotEmpty( $posts1 );
    408411                $posts2 = $this->q->query( array( 'post__in' => array() ) );
    409                 $this->assertEmpty( $posts2 );
     412                $this->assertNotEmpty( $posts2 );
    410413                $posts3 = $this->q->query( array( 'post_parent__in' => array() ) );
    411                 $this->assertEmpty( $posts3 );
     414                $this->assertNotEmpty( $posts3 );
    412415        }
    413416
     
    515518
    516519                $posts = $this->q->query( array( 'author__in' => array() ) );
    517                 $this->assertEmpty( $posts );
     520                $this->assertNotEmpty( $posts );
    518521
    519522                $posts = $this->q->query( array(
Note: See TracChangeset for help on using the changeset viewer.