[wp-trac] [WordPress Trac] #38381: Race conditions in Tests_Date_I18n

WordPress Trac noreply at wordpress.org
Sat Oct 22 08:42:53 UTC 2016


#38381: Race conditions in Tests_Date_I18n
------------------------------+-------------------------
 Reporter:  pento             |       Owner:  swissspidy
     Type:  defect (bug)      |      Status:  assigned
 Priority:  low               |   Milestone:  4.7
Component:  Build/Test Tools  |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-------------------------

Comment (by pento):

 I think this'll be the first time we've ever used delta comparisons in our
 unit tests. :-)

 Yah, let's go with it. Can you confirm that the `$message` parameter isn't
 required before you commit? The
 [https://phpunit.de/manual/current/en/appendixes.assertions.html#appendixes.assertions.assertEquals
 PHPUnit Docs] imply that it is.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38381#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list