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