[wp-trac] [WordPress Trac] #63175: Tests: Improve Unit tests for 'wp_unique_id_from_values()'

WordPress Trac noreply at wordpress.org
Tue Apr 1 13:30:25 UTC 2025


#63175: Tests: Improve Unit tests for 'wp_unique_id_from_values()'
-------------------------------------------------+-------------------------
 Reporter:  joemcgill                            |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-      |     Focuses:  tests
  major commit dev-reviewed                      |
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60116" 60116]:
 {{{
 #!CommitTicketReference repository="" revision="60116"
 General: Improve unit tests for `wp_unique_id_from_values()`.

 This is a follow-up to [60038], which updates the PHPUnit tests to account
 for different systems producing potentially different hashes due to
 platform specific floating point precision settings.

 Reviewed by audrasjb, desrosj.
 Merges [60113] to the 6.8 branch.

 Props debarghyabanerjee, joemcgill, peterwilsoncc, siliconforks.
 Fixes #63175.
 }}}

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


More information about the wp-trac mailing list