Changeset 48952 for trunk/tests/phpunit/tests/date/getFeedBuildDate.php
- Timestamp:
- 09/07/2020 03:12:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/getFeedBuildDate.php
r48937 r48952 61 61 ); 62 62 63 $this->assertEquals (63 $this->assertEqualsWithDelta( 64 64 strtotime( $datetime_utc->format( DATE_RFC3339 ) ), 65 65 strtotime( get_feed_build_date( DATE_RFC3339 ) ), 66 'Fall back to time of last post modified with no posts',67 266 2, 67 'Fall back to time of last post modified with no posts' 68 68 ); 69 69 … … 75 75 $wp_query->posts = array( $post_broken ); 76 76 77 $this->assertEquals (77 $this->assertEqualsWithDelta( 78 78 strtotime( $datetime_utc->format( DATE_RFC3339 ) ), 79 79 strtotime( get_feed_build_date( DATE_RFC3339 ) ), 80 'Fall back to time of last post modified with broken post object',81 280 2, 81 'Fall back to time of last post modified with broken post object' 82 82 ); 83 83 }
Note: See TracChangeset
for help on using the changeset viewer.