Changeset 35225 for trunk/tests/phpunit/tests/comment/dateQuery.php
- Timestamp:
- 10/16/2015 09:04:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/dateQuery.php
r25139 r35225 23 23 // Just some dummy posts to use as parents for comments 24 24 for ( $i = 1; $i <= 2; $i++ ) { 25 $this->posts[$i] = $this->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 = $this->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.