Changeset 45424 for trunk/tests/phpunit/tests/comment/getPageOfComment.php
- Timestamp:
- 05/26/2019 12:11:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getPageOfComment.php
r43571 r45424 46 46 'comment_post_ID' => $p, 47 47 'comment_type' => 'trackback', 48 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),48 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ), 49 49 ) 50 50 ); … … 58 58 'comment_post_ID' => $p, 59 59 'comment_type' => 'pingback', 60 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),60 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ), 61 61 ) 62 62 ); … … 136 136 'comment_post_ID' => $p, 137 137 'comment_type' => 'trackback', 138 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( 10 * $i ) ),138 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( 10 * $i ) ), 139 139 ) 140 140 ); … … 227 227 array( 228 228 'comment_post_ID' => $p, 229 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),229 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ), 230 230 ) 231 231 ); … … 233 233 array( 234 234 'comment_post_ID' => $p, 235 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),235 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ), 236 236 ) 237 237 ); … … 240 240 'comment_post_ID' => $p, 241 241 'comment_approved' => 0, 242 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),242 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ), 243 243 ) 244 244 ); … … 263 263 array( 264 264 'comment_post_ID' => $posts[0], 265 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),265 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 60 ) ), 266 266 ) 267 267 ); … … 269 269 array( 270 270 'comment_post_ID' => $posts[1], 271 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),271 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 60 ) ), 272 272 ) 273 273 ); … … 293 293 array( 294 294 'comment_post_ID' => $post, 295 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 60 ) ),295 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 60 ) ), 296 296 ) 297 297 ); … … 301 301 array( 302 302 'comment_post_ID' => $post, 303 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - ( $i * 59 ) ),303 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - ( $i * 59 ) ), 304 304 'comment_parent' => $parent, 305 305 ) … … 337 337 array( 338 338 'comment_post_ID' => $p, 339 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),339 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ), 340 340 ) 341 341 ); … … 343 343 array( 344 344 'comment_post_ID' => $p, 345 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),345 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ), 346 346 ) 347 347 ); … … 349 349 array( 350 350 'comment_post_ID' => $p, 351 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),351 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ), 352 352 ) 353 353 ); … … 370 370 array( 371 371 'comment_post_ID' => $p, 372 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),372 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ), 373 373 ) 374 374 ); … … 376 376 array( 377 377 'comment_post_ID' => $p, 378 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),378 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ), 379 379 ) 380 380 ); … … 382 382 array( 383 383 'comment_post_ID' => $p, 384 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),384 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ), 385 385 ) 386 386 ); … … 388 388 array( 389 389 'comment_post_ID' => $p, 390 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),390 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ), 391 391 ) 392 392 ); … … 410 410 array( 411 411 'comment_post_ID' => $p, 412 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now ),412 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now ), 413 413 ) 414 414 ); … … 416 416 array( 417 417 'comment_post_ID' => $p, 418 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 20 ),418 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 20 ), 419 419 ) 420 420 ); … … 422 422 array( 423 423 'comment_post_ID' => $p, 424 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 30 ),424 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 30 ), 425 425 ) 426 426 ); … … 428 428 array( 429 429 'comment_post_ID' => $p, 430 'comment_date_gmt' => date( 'Y-m-d H:i:s', $now - 40 ),430 'comment_date_gmt' => gmdate( 'Y-m-d H:i:s', $now - 40 ), 431 431 ) 432 432 );
Note: See TracChangeset
for help on using the changeset viewer.