Changeset 54088 for trunk/tests/phpunit/tests/feed/rss2.php
- Timestamp:
- 09/06/2022 10:03:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/feed/rss2.php
r54050 r54088 523 523 524 524 // Create a post dated last week. 525 $post_id = $this->factory()->post->create( array( 'post_date' => $last_week ) );525 $post_id = self::factory()->post->create( array( 'post_date' => $last_week ) ); 526 526 527 527 // Create a comment dated yesterday. 528 $this->factory()->comment->create(528 self::factory()->comment->create( 529 529 array( 530 530 'comment_post_ID' => $post_id, … … 562 562 563 563 // Create a post dated last week. 564 $post_id = $this->factory()->post->create( array( 'post_date' => $last_week ) );564 $post_id = self::factory()->post->create( array( 'post_date' => $last_week ) ); 565 565 566 566 // Create a comment dated yesterday. 567 $this->factory()->comment->create(567 self::factory()->comment->create( 568 568 array( 569 569 'comment_post_ID' => $post_id, … … 602 602 603 603 // Create a post dated last week. 604 $post_id = $this->factory()->post->create( array( 'post_date' => $last_week ) );604 $post_id = self::factory()->post->create( array( 'post_date' => $last_week ) ); 605 605 606 606 // Create a comment dated yesterday. 607 $this->factory()->comment->create(607 self::factory()->comment->create( 608 608 array( 609 609 'comment_post_ID' => $post_id, … … 613 613 614 614 // Create a post dated today. 615 $this->factory()->post->create( array( 'post_date' => $today ) );615 self::factory()->post->create( array( 'post_date' => $today ) ); 616 616 617 617 // The Last-Modified header should have the date from today's post when it is the latest update.
Note: See TracChangeset
for help on using the changeset viewer.