WordPress.org

Make WordPress Core

Changeset 1058 in tests


Ignore:
Timestamp:
09/28/12 12:48:14 (19 months ago)
Author:
ryan
Message:

Test comment query cache. see #WP22024

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/comment/query.php

    r1057 r1058  
    7171        $this->factory->comment->create_post_comments( $post_id3, 10, array( 'comment_approved' => '1' ) ); 
    7272        $comments = get_comments( array( 'post_id' => $post_id3 ) ); 
    73         // $this->assertEquals( 20, count( $comments ) ); @todo Fix cache bug in WP_Comment_Query::query() 
     73        $this->assertEquals( 20, count( $comments ) ); 
    7474        foreach ( $comments as $comment ) { 
    7575            $this->assertEquals( $post_id3, $comment->comment_post_ID ); 
Note: See TracChangeset for help on using the changeset viewer.