Changeset 43571 for trunk/tests/phpunit/tests/comment/query.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/query.php
r42343 r43571 2813 2813 $now = current_time( 'mysql', 1 ); 2814 2814 $comments = self::factory()->comment->create_many( 2815 5, array( 2815 5, 2816 array( 2816 2817 'comment_post_ID' => self::$post_id, 2817 2818 'comment_date_gmt' => $now, … … 2837 2838 $now = current_time( 'mysql', 1 ); 2838 2839 $comments = self::factory()->comment->create_many( 2839 5, array( 2840 5, 2841 array( 2840 2842 'comment_post_ID' => self::$post_id, 2841 2843 'comment_date_gmt' => $now, … … 3423 3425 public function test_it_should_be_possible_to_modify_meta_query_using_pre_get_comments_action() { 3424 3426 $comments = self::factory()->comment->create_many( 3425 2, array( 3427 2, 3428 array( 3426 3429 'comment_post_ID' => self::$post_id, 3427 3430 ) … … 3460 3463 public function test_it_should_be_possible_to_modify_meta_params_using_pre_get_comments_action() { 3461 3464 $comments = self::factory()->comment->create_many( 3462 2, array( 3465 2, 3466 array( 3463 3467 'comment_post_ID' => self::$post_id, 3464 3468 ) … … 3773 3777 3774 3778 $top_level_comments = self::factory()->comment->create_many( 3775 3, array( 3779 3, 3780 array( 3776 3781 'comment_post_ID' => self::$post_id, 3777 3782 'comment_approved' => '1', … … 3814 3819 3815 3820 $top_level_comments = self::factory()->comment->create_many( 3816 3, array( 3821 3, 3822 array( 3817 3823 'comment_post_ID' => self::$post_id, 3818 3824 'comment_approved' => '1', … … 3890 3896 3891 3897 $query_args = array_merge( 3892 $args, array( 3898 $args, 3899 array( 3893 3900 'post_id' => self::$post_id, 3894 3901 ) … … 3968 3975 3969 3976 $query_args = array_merge( 3970 $args, array( 3977 $args, 3978 array( 3971 3979 'post_id' => self::$post_id, 3972 3980 ) … … 4013 4021 4014 4022 $top_level_comments = self::factory()->comment->create_many( 4015 3, array( 4023 3, 4024 array( 4016 4025 'comment_post_ID' => self::$post_id, 4017 4026 'comment_approved' => '1', … … 4069 4078 4070 4079 $top_level_comments = self::factory()->comment->create_many( 4071 3, array( 4080 3, 4081 array( 4072 4082 'comment_post_ID' => self::$post_id, 4073 4083 'comment_approved' => '1',
Note: See TracChangeset
for help on using the changeset viewer.