Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#40141 closed defect (bug) (duplicate)

Test test_empty_post_date_gmt_shimmed_using_post_date is buggy

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

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
10 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

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

Note: See TracTickets for help on using tickets.