Changeset 35225 for trunk/tests/phpunit/tests/ajax/ReplytoComment.php
- Timestamp:
- 10/16/2015 09:04:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/ReplytoComment.php
r34172 r35225 33 33 public function setUp() { 34 34 parent::setUp(); 35 $post_id = $this->factory->post->create();36 $this->factory->comment->create_post_comments( $post_id, 5 );35 $post_id = self::$factory->post->create(); 36 self::$factory->comment->create_post_comments( $post_id, 5 ); 37 37 $this->_comment_post = get_post( $post_id ); 38 38 39 $post_id = $this->factory->post->create( array( 'post_status' => 'draft' ) );39 $post_id = self::$factory->post->create( array( 'post_status' => 'draft' ) ); 40 40 $this->_draft_post = get_post( $post_id ); 41 41 }
Note: See TracChangeset
for help on using the changeset viewer.