Changeset 46981
- Timestamp:
- 12/17/2019 09:31:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/getFeedBuildDate.php
r46974 r46981 62 62 63 63 $this->assertEquals( 64 $datetime_utc->format( DATE_RFC3339 ), 65 get_feed_build_date( DATE_RFC3339 ), 66 'Fall back to time of last post modified with no posts' 64 strtotime( $datetime_utc->format( DATE_RFC3339 ) ), 65 strtotime( get_feed_build_date( DATE_RFC3339 ) ), 66 'Fall back to time of last post modified with no posts', 67 2 67 68 ); 68 69 … … 75 76 76 77 $this->assertEquals( 77 $datetime_utc->format( DATE_RFC3339 ), 78 get_feed_build_date( DATE_RFC3339 ), 79 'Fall back to time of last post modified with broken post object' 78 strtotime( $datetime_utc->format( DATE_RFC3339 ) ), 79 strtotime( get_feed_build_date( DATE_RFC3339 ) ), 80 'Fall back to time of last post modified with broken post object', 81 2 80 82 ); 81 83 }
Note: See TracChangeset
for help on using the changeset viewer.