Changeset 35225 for trunk/tests/phpunit/tests/ajax/GetComments.php
- Timestamp:
- 10/16/2015 09:04:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/GetComments.php
r25438 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();39 $post_id = self::$factory->post->create(); 40 40 $this->_no_comment_post = get_post( $post_id ); 41 41
Note: See TracChangeset
for help on using the changeset viewer.