Changeset 35242 for trunk/tests/phpunit/tests/comment/getCommentLink.php
- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentLink.php
r35225 r35242 12 12 13 13 $now = time(); 14 $this->p = self:: $factory->post->create();15 $this->comments[] = self:: $factory->comment->create( array(14 $this->p = self::factory()->post->create(); 15 $this->comments[] = self::factory()->comment->create( array( 16 16 'comment_post_ID' => $this->p, 17 17 'comment_content' => '1', 18 18 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 100 ), 19 19 ) ); 20 $this->comments[] = self:: $factory->comment->create( array(20 $this->comments[] = self::factory()->comment->create( array( 21 21 'comment_post_ID' => $this->p, 22 22 'comment_content' => '2', 23 23 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 200 ), 24 24 ) ); 25 $this->comments[] = self:: $factory->comment->create( array(25 $this->comments[] = self::factory()->comment->create( array( 26 26 'comment_post_ID' => $this->p, 27 27 'comment_content' => '3', 28 28 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 300 ), 29 29 ) ); 30 $this->comments[] = self:: $factory->comment->create( array(30 $this->comments[] = self::factory()->comment->create( array( 31 31 'comment_post_ID' => $this->p, 32 32 'comment_content' => '4', 33 33 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 400 ), 34 34 ) ); 35 $this->comments[] = self:: $factory->comment->create( array(35 $this->comments[] = self::factory()->comment->create( array( 36 36 'comment_post_ID' => $this->p, 37 37 'comment_content' => '4', 38 38 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 500 ), 39 39 ) ); 40 $this->comments[] = self:: $factory->comment->create( array(40 $this->comments[] = self::factory()->comment->create( array( 41 41 'comment_post_ID' => $this->p, 42 42 'comment_content' => '4',
Note: See TracChangeset
for help on using the changeset viewer.