WordPress.org

Make WordPress Core

Changeset 983 in tests


Ignore:
Timestamp:
08/21/12 10:20:14 (20 months ago)
Author:
westi
Message:

Comments: Don't create a post we aren't using. Props nbachiyski.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/comment.php

    r981 r983  
    77 */ 
    88class Test_Comment_Query extends WP_UnitTestCase { 
    9     var $post_id; 
    109    var $comment_id; 
    1110 
     
    1312        parent::setUp(); 
    1413 
    15         $this->post_id = $this->factory->post->create(); 
    1614        $this->comment_id = $this->factory->comment->create(); 
    1715    } 
Note: See TracChangeset for help on using the changeset viewer.