[wp-trac] [WordPress Trac] #64329: Block Processor tests fail without intl extension

WordPress Trac noreply at wordpress.org
Mon Jan 26 16:19:02 UTC 2026


#64329: Block Processor tests fail without intl extension
-------------------------------------------------+-------------------------
 Reporter:  dmsnell                              |       Owner:  jonsurrell
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9.1
Component:  Editor                               |     Version:  6.9
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:  tests
  reviewed fixed-major                           |
-------------------------------------------------+-------------------------
Changes (by jonsurrell):

 * owner:  (none) => jonsurrell
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61529" 61529]:
 {{{
 #!CommitTicketReference repository="" revision="61529"
 Block Processor: Remove use of NumberFormatter from test suite.

 The Block Processor tests call `NumberFormatter` for generating its error
 messages, but in environments lacking the `intl` extension this led to
 crashes while running the tests.

 This patch reworks the tests so that they avoid calling `NumberFormatter`
 so that the tests run on more diverse setups.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10576
 Discussed in https://core.trac.wordpress.org/ticket/64329

 Follow-up to [60939].

 Reviewed by jonsurrell, jorbin.
 Merges [61342] to the 6.9 branch.

 Props desrosj, ellatrix, peterwilsoncc, westonruter.

 Fixes #64329.
 }}}

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


More information about the wp-trac mailing list