Changeset 35242 for trunk/tests/phpunit/tests/comment/dateQuery.php
- Timestamp:
- 10/17/2015 06:02:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/dateQuery.php
r35225 r35242 23 23 // Just some dummy posts to use as parents for comments 24 24 for ( $i = 1; $i <= 2; $i++ ) { 25 $this->posts[$i] = self:: $factory->post->create();25 $this->posts[$i] = self::factory()->post->create(); 26 26 } 27 27 … … 40 40 41 41 foreach ( $comment_dates as $comment_date => $comment_parent ) { 42 $result = self:: $factory->comment->create( array(42 $result = self::factory()->comment->create( array( 43 43 'comment_date' => $comment_date, 44 44 'comment_post_ID' => $this->posts[ $comment_parent ],
Note: See TracChangeset
for help on using the changeset viewer.