Changeset 45424 for trunk/tests/phpunit/tests/comment/query.php
- Timestamp:
- 05/26/2019 12:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/query.php
r43571 r45424 2950 2950 array( 2951 2951 'comment_post_ID' => self::$post_id, 2952 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 50 ),2953 ) 2954 ); 2955 $c2 = self::factory()->comment->create( 2956 array( 2957 'comment_post_ID' => self::$post_id, 2958 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),2959 ) 2960 ); 2961 $c3 = self::factory()->comment->create( 2962 array( 2963 'comment_post_ID' => self::$post_id, 2964 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),2952 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 50 ), 2953 ) 2954 ); 2955 $c2 = self::factory()->comment->create( 2956 array( 2957 'comment_post_ID' => self::$post_id, 2958 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ), 2959 ) 2960 ); 2961 $c3 = self::factory()->comment->create( 2962 array( 2963 'comment_post_ID' => self::$post_id, 2964 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ), 2965 2965 ) 2966 2966 ); … … 2968 2968 array( 2969 2969 'comment_post_ID' => self::$post_id, 2970 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),2970 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ), 2971 2971 ) 2972 2972 ); … … 2996 2996 array( 2997 2997 'comment_post_ID' => self::$post_id, 2998 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 50 ),2999 ) 3000 ); 3001 $c2 = self::factory()->comment->create( 3002 array( 3003 'comment_post_ID' => self::$post_id, 3004 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),3005 ) 3006 ); 3007 $c3 = self::factory()->comment->create( 3008 array( 3009 'comment_post_ID' => self::$post_id, 3010 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),2998 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 50 ), 2999 ) 3000 ); 3001 $c2 = self::factory()->comment->create( 3002 array( 3003 'comment_post_ID' => self::$post_id, 3004 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ), 3005 ) 3006 ); 3007 $c3 = self::factory()->comment->create( 3008 array( 3009 'comment_post_ID' => self::$post_id, 3010 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ), 3011 3011 ) 3012 3012 ); … … 3014 3014 array( 3015 3015 'comment_post_ID' => self::$post_id, 3016 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),3016 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ), 3017 3017 ) 3018 3018 );
Note: See TracChangeset
for help on using the changeset viewer.