Changeset 35242 for trunk/tests/phpunit/tests/ajax/GetComments.php
- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/GetComments.php
r35225 r35242 33 33 public function setUp() { 34 34 parent::setUp(); 35 $post_id = self:: $factory->post->create();36 self:: $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 = self:: $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.