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

WordPress Trac noreply at wordpress.org
Mon Dec 1 23:42:28 UTC 2025


#64329: Block Processor tests fail without intl extension
--------------------------------------+---------------------
 Reporter:  dmsnell                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.9.1
Component:  Editor                    |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  tests
--------------------------------------+---------------------

Comment (by dmsnell):

 In [changeset:"61342" 61342]:
 {{{
 #!CommitTicketReference repository="" revision="61342"
 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].

 Props desrosj, ellatrix, peterwilsoncc, westonruter.

 See #64329.
 }}}

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


More information about the wp-trac mailing list