Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#40141 closed defect (bug) (duplicate)

Test test_empty_post_date_gmt_shimmed_using_post_date is buggy

Reported by: presslabs's profile PressLabs Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.3
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description

The test_empty_post_date_gmt_shimmed_using_post_date works only on certain periods of time. The test must implement the Daylight Saving Time criteria in order to work properly all the time.

1) WP_Test_REST_Posts_Controller::test_empty_post_date_gmt_shimmed_using_post_date
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'2016-02-23T18:00:00'
+'2016-02-23T17:00:00'

Change History (1)

#1 @ocean90
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report, @PressLabs. We're already tracking this issue in #40136.

Note: See TracTickets for help on using tickets.