Changeset 35242 for trunk/tests/phpunit/tests/ajax/DimComment.php
- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/DimComment.php
r35225 r35242 27 27 public function setUp() { 28 28 parent::setUp(); 29 $post_id = self:: $factory->post->create();30 $this->_comments = self:: $factory->comment->create_post_comments( $post_id, 15 );29 $post_id = self::factory()->post->create(); 30 $this->_comments = self::factory()->comment->create_post_comments( $post_id, 15 ); 31 31 $this->_comments = array_map( 'get_comment', $this->_comments ); 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.